Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Mostrar porcentaje como número en lugar de texto

Hola Expertos

¿Cómo podría modificar lo siguiente como número para que se cumpla la condición if y puedo aplicar mi Regla CF

_DUTYPERCENTAGE VAR =
IF(FORMAT(DIVIDE(_duty,_external,0),"0.0%;(0.0%)")<0,1,0)
Lo anterior sigue siendo un valor de texto
1 ACCEPTED SOLUTION

@Route217

Ok, prueba:

IF(DIVIDE(_duty,_external,0) <0,1 , 0)

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

@Route217

¿De dónde viene esta expresión de _duty,_external,0

_Duyt y _External son otros VAR en mi fórmula..

_EXTERNAL VAR =
SUMX (
FILTRO (
ALL ( Logistics_ ),
Logistics_[New_Reporting_Headers]="Ventas externas"
),
[__v_Act2020]
)
VAR _Duty =
SUMX (
FILTRO (
ALL ( Logistics_ ),
Logistics_[New_Reporting_Headers]="Deber"
),
[__v_Act2020]
)

@Route217

Ok, prueba:

IF(DIVIDE(_duty,_external,0) <0,1 , 0)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.