Forum Discussion
Running Total
I have a table with sales by month and year and wtih some months zero, I am trying to create a line chart that shows running total throughout the year, but the blank values are getting me and I can't see how to overcome this.
I use this formula for the table and it works well, but can't see after reading all the posts on this topic how to close the gap on my problem
6 Replies
- Ashish_MathurSuper User
Hi,
What result are you expecting?
- AnonymousNot applicable
I am looking for a total that adds up the prior months, but then also just repeats previous month until a value comes in.
So that the line is continious
- AnonymousNot applicable
I would use some of the time intelligent functions that DAX has, i.e. TOTALYTD. This should make your lines continuous.
Sales YTD = TOTALYTD( [Sales]; Date[Date]) // Returns the running total for the year
- v-chuncz-msftCommunity Support
Anonymous
You may check if the following post helps.
https://community.powerbi.com/t5/Desktop/Dax-Measure-Fill-Down-Value/m-p/594415#M282232