Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all!
I have a report with a year and month slicer and a simple bar visual that shows me the running total per Month.
Now I have the issue if I select 2 years, then I get an error.
MTD =
CALCULATE (
[Sales],
FILTER (
ALL ( 'Calendar' ),'Calendar'[Date]
<= MAX ( 'Calendar'[Date] )
&& 'Calendar'[Month Number]
= MAX ( 'Calendar'[Month Number] )
)
)
How can I still get a running total for each moth based on the selected year(s) and months?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |