cancel
Showing results for 
Search instead for 
Did you mean: 
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)

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Kudoed Authors