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

DAX SWITCH STATEMENT no funciona correctamente

Hola, sólo estoy tratando de hacer un mesure mediante el uso de la instrucción SWITCH. pero no está funcionando correctamente. No sé por qué. SWITCH.PNG Aquí está mi código. Siento que hay algo mal con la instrucción SWITCH porque cuando probé el código a continuación en el que excluí la instrucción SWITCH

Without SWITCH.PNG

funciona. Tengo un número correcto que es -10.64%. Con SWITCH, tengo -100% que no es correcto. También adjuntaré la tabla debajo que creé yo mismo.

table2.PNG

Hay otra tabla llamada "FI OperationsStatementData", pero es directquery desde SQL Server, por lo que no puedo adjuntar aquí. ¿Alguien puede responder a mi pregunta? Apreciaré cualquier ayuda.

10 REPLIES 10

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.