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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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))