The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |