Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 114 | |
| 107 | |
| 41 | |
| 34 | |
| 25 |