Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Alright everyone, I believe I'm close on this one because it works, but only on the days I refresh the data (currently a once per month report). The DAX I used is here (60 and 90 day are calculated with the same statement, only the day number changed):
Here is the screenshot of it functioning
Here is a screenshot of it any day other than the updated day
Greatly appreciate any help to finish this up. Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
I would suggest you generate a date dimension table ('DateDim') with CALENDAR function. Establish a one to many relationship from 'DateDim' to Table_1046 based on date field.
Modify the measure formula as:
Sales Last 30 = CALCULATE(SUM(Table_1046[Extended Price]), DATESINPERIOD(DateDim[Date], TODAY(), -30, DAY) )
Hi @Anonymous ,
I would suggest you generate a date dimension table ('DateDim') with CALENDAR function. Establish a one to many relationship from 'DateDim' to Table_1046 based on date field.
Modify the measure formula as:
Sales Last 30 = CALCULATE(SUM(Table_1046[Extended Price]), DATESINPERIOD(DateDim[Date], TODAY(), -30, DAY) )
This worked and I got to learn something new. Thanks for your help!!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
83 | |
64 | |
60 | |
55 |
User | Count |
---|---|
183 | |
111 | |
105 | |
77 | |
70 |