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] ) )
Sean any update sir?
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
- FawadRehman10 years agoHelper I
Here is my lookup column code
Full Contact = LOOKUPVALUE(' Contacts'[Manager Name],' Contacts'[Id],'Customer Contact'[ ContactId])
& "i want line break here " & LOOKUPVALUE(' Contacts'[Email],' Contacts'[Id],'Customer Contact'[ ContactId])
& "i want line break here " & LOOKUPVALUE(' Contacts'[Telephone],' Contacts'[Id],'Customer Contact'[ ContactId])output
John Doe
123-345-5677
Thanks
- 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.