I have a table like the below:
Name Date1 Date2 Age
Tim 2020/05/20 2020/05/25 5
Tim 2020/07/10 2020/07/17 7
Tim 2020/08/04 2020/08/10 6
Tim 2020/09/05 2020/09/12 7
Tim 2020/08/05 2020/08/17 12
As you can see, Age is the difference between Date1 and Date2 and I would like to create a DAX expression to calculate the rolling 3 month average of Age (where Date1 is in the last 3 months).
Date1 is linked to my Calendar table.
The expected result for the above sample would be 8 (the first entry won't be included in the result as it's older than 3 months)
Any suggestions please?