Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
I am trying to create a stacked graph of a running total, but I am having great problems.
What i am trying to get is a graph like this:
but i am getting this:
I have a sample PBIX file here:
Grateful if someone can help me please
Solved! Go to Solution.
Hi @timknox ,
Please try this:
Create a new date table:
Date = CALENDARAUTO()
Create a measure:
Running Total =
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL('Date'),'Date'[Date]<=MAX('Date'[Date])))
@timknox , try a measure like
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL(Sheet1),Sheet1[Date]<=MAX(Sheet1[Date])))
In case you want all only date. Move that to a separate table or use date table
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL(DAte),DAte[Date]<=MAX(DAte[Date])))
Hi @timknox ,
Please try this:
Create a new date table:
Date = CALENDARAUTO()
Create a measure:
Running Total =
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL('Date'),'Date'[Date]<=MAX('Date'[Date])))
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 21 | |
| 18 | |
| 11 |
| User | Count |
|---|---|
| 56 | |
| 54 | |
| 43 | |
| 36 | |
| 34 |