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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.