Forum Discussion
TJacobs
8 years agoFrequent Visitor
PowerBi cumulative calculation goes wrong
Hi all, I'm in a loss in this matter, I've tried many DAX formulas and read many forums but unfortunately I didn't found the solution. This is the issue I've created a calculated Line Chart...
- 8 years ago
Hi TJacobs,
Based on my test, the formula below should work in your scenario. :smileyhappy:
Sales Cumulative = CALCULATE ( SUM ( 'Blad1 (2)'[Turnover total]), FILTER ( ALLSELECTED('Blad1 (2)'), 'Blad1 (2)'[Date_Month] <= MAX('Blad1 (2)'[Date_Month]) ) )Regards
Greg_Deckler
8 years agoCommunity Champion
Can you post some sample data?
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490