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,
this has a simple problem; however, my mind is wandering around and couldn't find a solution for that.
I have a measure A = sum(Values) by date
and I want to calculate measure B = Measure A shifted 3 days earlier.
tried: calculate(A, filter(Date table, Date = Date -3)), but it doesn't work.
any helps pls?
Thanks
Solved! Go to Solution.
try this
calculate(A, filter(Date table, Date = lastdate(Date) -3))
To shift either forward or backward in time by the specified number of intervals from the dates, you may take a look at DATEADD Function.
try this
calculate(A, filter(Date table, Date = lastdate(Date) -3))
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!