Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have 2 measures that I would like to change to calculate as cumulative totals.
The first measure is calculating total quantity sold, and the second is calculating total quantity sold last year.
1. SUM QTY = sum('Sales Data'[QTY])
2. Qty Sold LY = CALCULATE([SUM QTY], DATEADD(DateTable[Date], -1, YEAR))
When I put them into a graph by month, it shows the quantity by each month.
I would like it to add the values together so that Jan would be Jan, Feb would be Jan+Feb, March would be Jan+Feb+March, etc.....
Right now this is the chart I have:
The cumulative quantity chart would look more like a line that is up and to the right, as opposed to fluctuating.
If anyone knows how to change the chart to go by cumulative total by month, that would be appreciated.
Thanks for the help!
@joshs444 Better Running Total - Microsoft Power BI Community
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |