Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
22 | |
20 | |
15 | |
13 |
User | Count |
---|---|
45 | |
41 | |
39 | |
19 | |
19 |