In some business scenarios, it is required to create a metric and calculate the values based on the previous two values of another metric. The metric was used as an example to calculate / . The metric may be expected to be displayed as shown below:

NOTE: When the outer join is not enabled, of '2008 Q1' has a null value. Hence this row will not be displayed.
For the steps below to achieve the requirement in two different approaches:
Approach 1: Transformation
In Strategy Desktop, create a Transformation schema object.
NOTE: Two ways to create a transformation object:

Approach 2: MovingSum


