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
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
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 |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 25 | |
| 23 |