Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.