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, I have a requirement, where I need the last 30 days data based on a date column that is not from Date table.
My DAX query is :
Solved! Go to Solution.
Hi
Dates in Period should reference a full data column in your Calendar.
I guess something like this.
DATESINPERIOD ( Calender[Date], LASTDATE(Source[Resolved At]), -30, DAY )
I hope this helps.
P.s It helps If you format your DAX. Try www.daxformatter.com for tips.
Thank you for all the responses. I am able to resolve the issue.
Hi
Dates in Period should reference a full data column in your Calendar.
I guess something like this.
DATESINPERIOD ( Calender[Date], LASTDATE(Source[Resolved At]), -30, DAY )
I hope this helps.
P.s It helps If you format your DAX. Try www.daxformatter.com for tips.