Moving Average:
Information Returned: The cumulative group or moving average of a value expression. The return content is a function of how AVG data is aggregated.

where Y is the column value, i is the row number and x is the window size.
In Strategy Desktop, this function can be used in a metric with the following format:
MovingAvg <Breakby> <Sortby> (ValueList, WindowSize)
where ValueList is the Column, and WindowSize is the span over which the average is taken.
EXAMPLE:
To calculate the Moving Average for Dollar Sales over the past three months, follow the steps below:



