Forum Discussion
Waseem
Helper III
9 years agoCalculating Cumulative Monthly Totals
Hello Power BI Gurus I am stuck up with a situation, for which I have seen many solutions. However, nothing worked for me as I have more columns in my table. I need to calculate Monthly Cumulativ...
- 9 years ago
Waseem, oh i'm sorry for missing in quickly typing. there is misssing filter in the expression:
Cumulative_Actual = CALCULATE ( SUM ( 'TB'[Actual_KD] ), filter( ALL ( 'Dates' ), 'Dates'[Date] <= MAX( 'Dates'[Date] )) )please kindly try again with calculated measure
AndreSatziack
Helper I
8 years agoHello Guys,
Thanks for all, I resolved this problem with Dax bellow. Best Regards.
New Date Table:
Calendar = CALENDAR(MIN(Relatorio_Anual_2017[Criado]),MAX(Relatorio_Anual_2017[Criado]))
New Measure:
Acumulado = CALCULATE(
SUM(Relatorio_Anual_2017[Horas]),
FILTER(
ALLSELECTED('Calendar'[Date]),
'Calendar'[Date] <= MAX ('Calendar'[Date])
)
)