Forum Discussion
mafioso
8 years agoHelper II
Measure doesn't summarize properly
This is my table: I don't know why, but the cross total at the bottom is right although the values in some cols are wrong. You can calculate by yourself, the result for nearly every colu...
v-yuta-msft
8 years agoCommunity Support
Hi mafioso,
Modify DAX formula like below and check if it can work:
M_C running total in Date =
CALCULATE (
[M_E];
FILTER ( Master; ISONORAFTER ( 'Master'[Date]; MAX ( 'Master'[Date] ); DESC ) );
ALLSELECTED ( 'Master'[Date] )
)
Regards,
Jimmy Tao
mafioso
8 years agoHelper II
Thanks for your answer but that is not really the answer i was looking for. I want to have a cumulative total by year and somehow some values are not counting. Your solution gives me the correct numbers, now I need to summarize them.
For example:
2018: 5 (5)
2019: 9 (4)
2020: 16 (7)
2021: 20 (4)