Forum Discussion
Cumulative Column Values where every column represents a month and every line a measure
- 5 years ago
Dave_Delfino , the screenshot is not very clear.
You need to unpivot the data.
Then you need take out month year from it
create date from month year and then create cumulative like example
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(Sales),Sales[Sales Date] <=max(Sales[Sales Date])))
Hello Amit!
Thank you for your fast reply. I will go ahead and google the phrases you used to explain your solution.
Sorry for the not self-explanatory screenshots. i will come back to you as soon as i have solved my issue or are stuck again.
Greeting,
David
Dave_Delfino , unpivot
https://radacad.com/pivot-and-unpivot-with-power-bi
https://www.youtube.com/watch?v=2HjkBtxSM0g
To separate out month year you need use Start, end and middle , as per need https://www.youtube.com/watch?v=vky4wPqm0O0
Create date from month year -https://www.youtube.com/watch?v=cJqgphIHXz8&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=4
I have a similar video on DAX too