Forum Discussion
arnabmit
Helper I
4 years agoError in Rolling 12 month average
Hi, I was trying to replicate Alberto Ferrari's method of Rolling 12 month average (Average of -13 to -1 month), but it is not matching with the manual calculation. Any idea why it is so? My ...
- 4 years ago
arnabmit , Check the suggestion from SpartaBI. Try like
12 Month Avg = CALCULATE(AverageX(Values('Date'[MONTH Year]),calculate(Sum('Table'[Value)))
,DATESINPERIOD('Date'[Date ],Eomonth(MAX('Date'[Date ])-1) ,-12,MONTH))
SpartaBI
Community Champion
4 years agoarnabmit I'm not sure why you have another disconnected calendar table.
You can PM me and we can take a look together at your model in zoom if you want
arnabmit
Helper I
4 years agoIt is as per Alberto Ferarri's method here https://www.youtube.com/watch?v=ACvYaXnpyCM