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!View all the Fabric Data Days sessions on demand. View schedule
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 |
|---|---|
| 14 | |
| 11 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 28 | |
| 20 | |
| 19 | |
| 17 | |
| 12 |