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 dynamic date selector. I have 2 measures (YTD and LAST YEAR YTD). These 2 measure show correct sales numbers based on date selection. However, I cannot find the correct measure to correctly subtract YTD from Last Year YTD. Any help will be appreciated. A simple measure of Measure#1 (minus) Measure#2 does not give me the correct result.
MEASURE #1
SALES CURRENT YTD =
SUM('SALES'[SALES AMOUNT])
MEASURE #2
SALES LAST YEAR YTD =
CALCULATE(
SUM('SALES'[SALES AMOUNT]),
SAMEPERIODLASTYEAR('Calendar'[Date]), 'Calendar'[Date] <= date(year(today()), month(today())-12, day(today()))
)
Solved! Go to Solution.
@Oros Better Year Over Year Change - Microsoft Fabric Community
@Oros Better Year Over Year Change - Microsoft Fabric Community
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!