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
Hey,
How can I create a stacked chart where each subsequent data point represents the cumulative sum of the previous values?
Solved! Go to Solution.
Hi @harry6810
You would need to create a cumulative measure
Culumative Amount =
VAR MaxDate = MAX ( 'Date'[Date] )
RETURN
CALCULATE (
[Sales Amount], /// Sum of the amountin your table or a count of an id
'Date'[Date] <= MaxDate,
ALL ( Date )
)
There are also a number of Time Intelligence measures you could use like
TOTALYTD = TOTALYTD([SalesAmount], 'Date'[Date])
TOTALQTD = TOTALQTD([SalesAmount], 'Date'[Date])
TOTALMTD = TOTALMTD([SalesAmount], 'Date'[Date])
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Hi @harry6810
You would need to create a cumulative measure
Culumative Amount =
VAR MaxDate = MAX ( 'Date'[Date] )
RETURN
CALCULATE (
[Sales Amount], /// Sum of the amountin your table or a count of an id
'Date'[Date] <= MaxDate,
ALL ( Date )
)
There are also a number of Time Intelligence measures you could use like
TOTALYTD = TOTALYTD([SalesAmount], 'Date'[Date])
TOTALQTD = TOTALQTD([SalesAmount], 'Date'[Date])
TOTALMTD = TOTALMTD([SalesAmount], 'Date'[Date])
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 20 | |
| 12 |
| User | Count |
|---|---|
| 67 | |
| 55 | |
| 42 | |
| 38 | |
| 30 |