I have created a metric and it does the job but I am thinking this would be an out of the box metric.
All I want is a 12 month rolling average of cost for a given item. The calculation I have used is:
=(TimePeriod(Cost,-11)
+TimePeriod(Cost,-10)
+TimePeriod(Cost,-9)
+TimePeriod(Cost,-8)
+TimePeriod(Cost,-7)
+TimePeriod(Cost,-6)
+TimePeriod(Cost,-5)
+TimePeriod(Cost,-4)
+TimePeriod(Cost,-3)
+TimePeriod(Cost,-2)
+TimePeriod(Cost,-1)
+TimePeriod(Cost,0))/12
And like I said it works but have I reinvented the wheel? Surely this is available OOTB and I am just not seeing it?