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
Hi
I currently have this formula to calculate YTD , however this means that I have to change the date in the formula every time i want to change the month.
Is there a measure i can create which provides me the YTD value, based on the month that is selected on my slicer? I have a column in the table which is a date.
SC YTD = TOTALYTD(sum(Append1[Actual/Forecast]),DATESBETWEEN(Append1[Date],DATE(2019,01,01),DATE(2019,03,31)))
Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous ,
You can create a Date table: Date = CALENDARAUTO()
Then create a measure like this:
SC YTD = CALCULATE(SUM(Append1[Actual/Forecast])),DATESYTD('Date'[Date]))
Results are as follows:
Here is a demo, please try it:
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can create a Date table: Date = CALENDARAUTO()
Then create a measure like this:
SC YTD = CALCULATE(SUM(Append1[Actual/Forecast])),DATESYTD('Date'[Date]))
Results are as follows:
Here is a demo, please try it:
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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!