Forum Discussion
Anonymous
3 years agoNot applicable
5 Year Rolling Average DAX
Hi Experts
How could i modify the following DAX Measure to work out the year rolling average..
Hi Anonymous,
Could you please try this:
5 Year Rolling Avg = AVERAGEX(DATESINPERIOD('Dates'[Date],LASTDATE('Dates'[Date]),-5,YEAR),[Total Sales])
1 Reply
- Seanan
Solution Supplier
Hi Anonymous,
Could you please try this:
5 Year Rolling Avg = AVERAGEX(DATESINPERIOD('Dates'[Date],LASTDATE('Dates'[Date]),-5,YEAR),[Total Sales])