Forum Discussion
hemantkg
9 years agoFrequent Visitor
Running Total - Incorrect Results
I have searched the forum for possible solution to below scenario, could not find any leads. Following is the data snapshot: Date Sales Person Geography Sales 1/1/2017 A X 10 1/1/...
- 9 years agoHi hemantkg,
It's 320 cause you are using calculated column. Behind the scenes, it iterates row by row and cumulatives sum values, but there are 8 rows in April when it should be 9 rows as another months. My recommendation is using calculated measure.
Vvelarde
9 years agoCommunity Champion
hemantkg
9 years agoFrequent Visitor
Thanks Victor for quick reply. Tried it, it doesnt even work as expected:
- hemantkg9 years agoFrequent Visitor
The TOTALMTD works now, but it is working same as the other calculation, this is the TOTALMTD formula:
MTD using Total MTD = TOTALMTD(Sum(Sheet1[Sales]), 'Date'[Date], ALLEXCEPT(Sheet1, Sheet1[Sales Person], Sheet1[Geography]))
But we still have the missing previous total for combination mentioned in OP.