cancel
Showing results for 
Search instead for 
Did you mean: 

SAC - Create Date Variance Calculation

09-27-2021 8:28 AM
jonasvorwerg Explorer
1841 views 4 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello everyone,

I was wondering if there is a way to calculate a time variance that is dynamically created for each time period.

February Value = Original Feb Value - Original Jan Value

March Value = Original March Value - Original Feb Value

I could only find the Lookup function, this however, allows me only to choose a specific month and not iterate it over each month.

Some help or advises from your side would be highly appreciated.

Best regards

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

William_Yu1
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi jonasvorwerg,

You can achieve this with cross calculation.

1. You can default measure: A = current month value

2. Create a cross calculation: B with restricte measure by navigation previous period

3. Create a cross calculation C( display value) = A - B.

Best regards, William

Answers (2)

Answers (2)

jonasvorwerg
Explorer
0 Likes

Hi william.yu

I think this does not solve the problem. I need more something like a cumulated sum.

jonasvorwerg
Explorer
0 Likes

Hi William,

thanks for your response. Would that not only create a key measure for September 21 - August 21 but not for each month in the past?

William_Yu1
Product and Topic Expert
Product and Topic Expert

If you time granularity is on day, then you first need a MTD, then a MTD of previosu period ,and then MTD - MTD Previous.