Forum Discussion
pbiforum123
Post Patron
3 years agoCumulative sum in DAX
We need above output column using DAX. Can someone please share the working DAX.
- 3 years ago
Hi,
try this:
Running Total (m) =CALCULATE(SUM ( 'Table'[Sales] ),FILTER(ALL('Table'),'Table'[Employee] = MAX('Table'[Employee])&&'Table'[Date]<=MAX('Table'[Date])))If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
DOLEARY85
Resident Rockstar
3 years agoHi,
try this:
Running Total (m) =
CALCULATE(SUM ( 'Table'[Sales] ),FILTER(ALL('Table'),'Table'[Employee] = MAX('Table'[Employee])&&'Table'[Date]<=MAX('Table'[Date])))
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍