Forum Discussion
Kanyi
2 years agoFrequent Visitor
Multiple category cumulative sum
Hi please assist. I have been struggling with the below, any help will be apreciated. I want to calculate a cumulative sum of the metres based on site and discipline. The running total and creating a...
- 2 years ago
Kanyi , Create a calculated column using below DAX
CumulativeSum =
CALCULATE(
SUM(Table[Metres]),
FILTER(
ALLEXCEPT(Table, Table[Site], Table[Discipline]),
Table[Date] <= EARLIER(Table[Date])
)
)
bhanu_gautam
2 years agoSuper User
Kanyi , Create a calculated column using below DAX
CumulativeSum =
CALCULATE(
SUM(Table[Metres]),
FILTER(
ALLEXCEPT(Table, Table[Site], Table[Discipline]),
Table[Date] <= EARLIER(Table[Date])
)
)