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.
Hey todo,
Sé cómo hacer el cálculo acumulativo al poner la fecha en la fila. Pero esta vez, necesito calcular el total en ejecución en el nivel de elemento (fila) mes a mes (columna)
Vea el ejemplo siguiente. las demandas acumulativas 2020-08 deben ser 44 para el producto A. Teniendo en cuenta que las demandas 2020-09 es 103, por lo que las demandas acumulativas para finales de 2020-09 deben ser 147...
Este es mi dax, pero no es correcto 😞 ¿Me harías saber tus pensamientos? ¡Gracias!
Solved! Go to Solution.
@naoyixue1 , Probar como
Demandas acumulativas : CALCULATE([Demands],FILTER(ALL('Fact'),COUNTROWS(FILTER('Fact',Max('Fact'[Item])'Fact'[Item] && MAX('Fact'[Date])'Fact'[Date])))
O
Demandas acumulativas:CALCULATE([Demands],FILTER(ALLSELECTED('Date'[Date]),'Date'[Date]<'MAX('Date'[Date])),FILTER(ALL('Fact'),COUNTROWS(FILTER('Fact',Max('Fact'[Item])'Fact'[Item] )))
@naoyixue1 , Probar como
Demandas acumulativas : CALCULATE([Demands],FILTER(ALL('Fact'),COUNTROWS(FILTER('Fact',Max('Fact'[Item])'Fact'[Item] && MAX('Fact'[Date])'Fact'[Date])))
O
Demandas acumulativas:CALCULATE([Demands],FILTER(ALLSELECTED('Date'[Date]),'Date'[Date]<'MAX('Date'[Date])),FILTER(ALL('Fact'),COUNTROWS(FILTER('Fact',Max('Fact'[Item])'Fact'[Item] )))
Gracias @amitchandak en ambos sentidos trabajo. Realmente apreciamos tu esfuerzo.
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |