Forum Discussion
Running Total - DAX
- 10 years ago
FawadRehman This should work... Let me know.
Running Total COLUMN = CALCULATE ( SUM ( TabelForecast[Forecast] ), ALLEXCEPT ( TabelForecast, TabelForecast[M#] ), TabelForecast[MonthYear] <= EARLIER ( TabelForecast[MonthYear] ) )
FawadRehman Why don't you want to do the Running Total in the new Merged Table?
Sean any update sir?
- Sean10 years agoCommunity Champion
FawadRehman This should work... Let me know.
Running Total COLUMN = CALCULATE ( SUM ( TabelForecast[Forecast] ), ALLEXCEPT ( TabelForecast, TabelForecast[M#] ), TabelForecast[MonthYear] <= EARLIER ( TabelForecast[MonthYear] ) )- FawadRehman10 years agoHelper I
Working like a charm. Thank You. btw do you know line break in text box?
- Sean10 years agoCommunity Champion
I know some people use the Long Text Viewer Custom Visual instead...
https://app.powerbi.com/visuals/show/LongTextViewer1453740445633
- dstramilov10 years agoHelper II
Who can solve these problems?
- Lucy6410 years agoAdvocate II
Can I calculate a running total without a date field. I have a list of Machine Names and production total for each machine. With the production total showing in descending order I want to add a running total from highest to lowest. Data is from SQL database with a direct link. Please let me know if this is possible. The idea is when I drill down or filter the calculation of the running total will recalculate based on data showing.