Forum Discussion
informes_pbi
3 years agoRegular Visitor
Subtotal accumulate sum
I would like to know how to obtain the cumulative sum between cells with positive values, resetting each time a new positive value is encountered.
1 Reply
- AnonymousNot applicable
Hello,
You can try following measure to get the Running Total for your data.RT =VAR lastWeek = MAX(Data[Week])RETURNCALCULATE(SUM(Data[Values]), Data[Week] <=lastWeek)If this solves your problem, please give thumbs up and mark it as a solution.