cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Cumulate Value in Data action - SAP Analytic cloud

brahmareddy_kolli
Participant
0 Kudos
181

Hi Experts,

I need your help with a data action. I’ve tried several approaches, but have had no luck.

I have three measures: Periodic Cost, Cumulative Cost, and Flag. I want to accumulate the values of Periodic Cost from previous periods and post them into the Cumulative Cost measure for the period marked by the Flag measure (where the Flag value is always "1" for the FLAG Measure).

List of Dimensions : Product, version, date , product and Measure

for example 

Source Values              
ProductMeasures202501202502202503202504202505202506202507202508202509202510202511202512Total
Product1Periodic COST1000 3000 500       4500
Product1FLAG      1      
Product2Periodic COST 500 650 50      1200
Product2FLAG          1  
Expected Values              
Product1Cumulate COST      450045004500450045004500 
Product2Cumulate COST          12001200 
View Entire Topic
William_Yu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Two options:

  1. Use VARIABLEMEMBER of time dimension in advance formula to collect total.
  2. Define calculated measure in with YTD syntax in model and use copy step in data action to copy cover.
brahmareddy_kolli
Participant
0 Kudos

I couldn't proceed with the Calculated Measure and Copy Step.

How can I identify the Flag Account and post the YTD amount for the particular month?

As I mentioned, there are three accounts: Periodic Cost, Cumulative Cost, and Flag Account (where we need to post values for the particular month).

VARIABLEMEMBER is not getting the previous months data