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
Anonymous
Not applicable

Necesita ayuda con una declaración IF

¡Hola!

Tengo este código y funciona:

Times = IF('Log'[Agreementarea] = "MIDDLE" && 'Log'[Agreementtimes]>1/24/60*90,"Missad","Avklarad") =IF('Log'[AvtalsområdeValue]="NORTH" && 'Log'[Agreementtimes]>1/24/60*105,"Missad","Avklarad")

Pero me gustaría insertar más "Acuerdoáreas" en este código. Lo intenté, por ejemplo, "Middle" "SUR" pero no funciona.. ¿Alguien puede ayudarme?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

288088 , Pruebe en

Tiempos: IF('Log'[Acuerdo] en "MIDDLE", "SOUTH" && 'Log'[Agreementtimes]>1/24/60*90,"Missad","Avklarad") ?IF('Log'[Avtalsomr-deValue]-"NORTH" && 'Log'[Agreementtimes]>1/24/60*105,"Missad","Avklarad")

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

288088 , Pruebe en

Tiempos: IF('Log'[Acuerdo] en "MIDDLE", "SOUTH" && 'Log'[Agreementtimes]>1/24/60*90,"Missad","Avklarad") ?IF('Log'[Avtalsomr-deValue]-"NORTH" && 'Log'[Agreementtimes]>1/24/60*105,"Missad","Avklarad")

Anonymous
Not applicable

¡Muchas gracias, esto ayudó! Tengo una última pregunta. Me doy cuenta de que todavía dice en mis diagramas "Verdadero" o "Falso" Cuando claramente en mi código lo llamó "Missad" o "Avklarad". ¿Tienes idea de qué podría causar esto o debo iniciar otro hilo?

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.