Forum Discussion
MrMP
3 years agoHelper III
Cumulative showing wrong figures
Hi everyone! I am facing problems with cumulative calculations. Ive tried multiple formulas from the internet, quick measure. Nothing seems to fix the trick. As showed below, I need to have cumul...
- 3 years ago
MrMP , Try like
Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(all('Calendar'), [Date] <=max('Calendar'[Date]))) //cumulative or Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(allselected('Calendar'), [Date] <=max('Calendar'[Date]))) //cumulative
amitchandak
3 years agoSuper User
MrMP , Try like
Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(all('Calendar'), [Date]
<=max('Calendar'[Date])))
//cumulative
or
Calc 7(cumulative of calc6) = CALCULATE(sumx(SUMMARIZE(Input,'Calendar'[Year],'Calendar'[Quarter]),[Calc 6]), filter(allselected('Calendar'), [Date]
<=max('Calendar'[Date])))
//cumulative