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.
Hola,
Por favor, necesito ayuda con mis cálculos en DAX. He creado la siguiente medida la variación entre el consumo real y el teórico de ciertos materiales:
Al volcar la medida en una tabla y segmentar por un material concreto (descripción) el resultado me devuelve productos que no consumen el material segmentado, devolviendo ningún valor en las columnas "Consumo teórico2" y "Consumo real2" y calculando un 100% de desviación.
Se que tengo que poner alguna función de filtro en la medida con Calculate. Por favor, ¿Alguien puede ayudarme?
Gracias
Solved! Go to Solution.
try writing like this:
Variacion % consume real vs. teorico = DIVIDE([Consume real2]-[Consume teorico 2],[Consume teorico 2])
try writing like this:
Variacion % consume real vs. teorico = DIVIDE([Consume real2]-[Consume teorico 2],[Consume teorico 2])
Thank you so much for your help Ahmedx. Your solution works as I wanted.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |