This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi, I am trying to show a line chart in Power BI based on a DateDiff column. The example in Excel is attached as well as how it currently looks in Power BI. Any suggestions on how I can do a Sum (running total) of the value then show the line graphs as a cummulative total of the values called R1000?
X Axis = Date Diff "MIS" 1 through 50
Y Axis = Cumulative total "R1000" based on the prior Date Diff value
Legend = 2018, 2019, 2020Power BI (Bad)
MS Excel (Good)
Solved! Go to Solution.
Hi here is what I think gets you what you are looking for
Cummulative R1000 =
CALCULATE(
[R1000],
filter(
allselected('warranty'[MIS]), 'warranty'[MIS]<=max('warranty'[MIS])
)
)
Also find the updated pbix
Proud to be a Super User!
Hi @efowler ,
Below you will find an example of a running total calculation, that should get you going in the right direction.
Cummulative R1000 =
Calcluate(
SUM('table'[R1000]),
filter(
allselected('table'[MIS (Failure)]), 'table'[MIS (Failure)]<=max('table'[MIS (Failure)])
)
)
Hope that helps,
Proud to be a Super User!
Hi, thanks.. R1000 is a measure. Does that make a difference? I can not find the 'table'[R1000], I believe that is because it is a measure?
Hi @efowler ,
'table' is a place holder as i do not know the name of your table, for the measure name please leave out the table name
Proud to be a Super User!
I can't add my table because the data I am trying to create the running total on is a measure. The MIS is a calculated column
Hi @efowler ,
Please provide a sample pbix file, will make it much easier to craft a working measure for you
Proud to be a Super User!
Hi here is what I think gets you what you are looking for
Cummulative R1000 =
CALCULATE(
[R1000],
filter(
allselected('warranty'[MIS]), 'warranty'[MIS]<=max('warranty'[MIS])
)
)
Also find the updated pbix
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 34 | |
| 33 | |
| 25 | |
| 24 |