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
I have table 1 that has a 'columnToCount' field that I'd like a running total to be put in a bar graph that has an x-axis from table 2 which has a date column that is used in a slicer and has a 1:* relationship between the 2 date columns.
I've tried the quick measure and many other solutions that use only 1 table that do work with 1 table, but because of the x-axis being from the second table my measure ignores what is filtered. Thanks so much for your time.
Sample data below:
Table 1
| columnToCount | dateTable1 |
| 1 | 1/15/2022 |
| 2 | 4/15/2022 |
| 3 | 7/15/2022 |
| 4 | 12/15/2022 |
Solved! Go to Solution.
Hi, @Anonymous
Measure = CALCULATE(SUM(Table1[Count]),FILTER(ALL(Table2),[Date]<=SELECTEDVALUE(Table1[Date])))
Is this the result you expect? If not, let us know what you expect the output to be.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Measure = CALCULATE(SUM(Table1[Count]),FILTER(ALL(Table2),[Date]<=SELECTEDVALUE(Table1[Date])))
Is this the result you expect? If not, let us know what you expect the output to be.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Can you share sample data from both tablesand sample output in table format? Or a sample pbix after removing sensitive data.
But new Window function can help
Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc
or
Running Total/ Cumulative: https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=41
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 |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 7 | |
| 6 | |
| 6 |