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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have a cumulative value and it is compared in a line chart by Year to date and Past year to date. I'd like that YTD did not show the values that are in the future.
My DAX measure is
Solved! Go to Solution.
Ah, well. I got it on my own 🙂
Perhaps this help?:
YearToDate = CALCULATE([MEASURE1], DATESYTD('Calendar'[Date]), FILTER(ALLEXCEPT('Calendar', 'Calendar'[Year]),('Calendar'[Date]<TODAY()))
Proud to be a Super User!
Ah, well. I got it on my own 🙂
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!