Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Dear Community,
I think I have a more complex Running Total challenge.
I have my information arranged by Date, Type and Value. I need to create a monthly running total by date and type.
In my business case, I want to show an accumulated chart that's why I need this Running Total.
Do you know how can this be possible?
Thank you.
Solved! Go to Solution.
Hey @CP000 ,
i'm not sure what you mean by running total by date and type. If you select tpye either by slicer, axis label, or row/column header this DAX creates a cumulative value based on type, even if type is not mentioned inside the formula by itself:
running total test =
CALCULATE(
SUM('Fact Sale'[Quantity])
, FILTER(
ALL('Fact Sale'[Invoice Date Key])
, 'Fact Sale'[Invoice Date Key] <= MAX('Fact Sale'[Invoice Date Key])
)
)
Here is a little screen shot:
If this does not provide what you are looking for, please give a more detailed explanation what makes the type column special.
Regards,
Tom
Hey @CP000 ,
i'm not sure what you mean by running total by date and type. If you select tpye either by slicer, axis label, or row/column header this DAX creates a cumulative value based on type, even if type is not mentioned inside the formula by itself:
running total test =
CALCULATE(
SUM('Fact Sale'[Quantity])
, FILTER(
ALL('Fact Sale'[Invoice Date Key])
, 'Fact Sale'[Invoice Date Key] <= MAX('Fact Sale'[Invoice Date Key])
)
)
Here is a little screen shot:
If this does not provide what you are looking for, please give a more detailed explanation what makes the type column special.
Regards,
Tom
Thank you Tom, can you show me your table in your query editor?
What I mean with Date and Type is:
1/1/2020 1 Budget Target 12,500
2/1/2020 1 Budget Target 25,000
3/1/2020 1 Budget Target 32.500
... and so on.
You see, my table gets complex beacuse I have differente types of data with different values: 1 Budget Target; 2 Forecast; 3 Expected; 4 Actual
Hey @CP000 ,
if adjust my measure to your table name and column name, it's sufficient to use the date column as axis, the measure as value and the type column as legend, this will create 4 lines.
If this is not what you are looking for, create a pbix that contains sample data, but still reflects your data model. Create a sketch how your visual should look like import the sketch to the pbix, upload the pbix to onedrive or dropbox and share the link.
Regards,
Tom
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |