cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to calculate percentage dynamically for the year in SAC

TanyaSrivastava
Participant
0 Likes
1,233

Hi All,

In SAP Analytics Cloud (SAC), we have a requirement to fetch the ROCE % Annualized for the year.

Below is an example for reference.
ROCE % = Operating Profit / Capital Employed
We have data in our classic model in SAC for Q1, hence the values are coming as:
ROCE % = 10/500 = 2%

The client has a requirement that the ROCE should be annualized, which means in Q1 it should show the value as ROCE * Year/no. of months, hence ROCE will come 8% (2*12/3) which will be annualized for the year.

How to achieve this in SAC?

@N1kh1l if you could please provide any inputs in achieving this.

Regards,
Tanya

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

MichalCK
Participant

you can create in Story calculations

Aggregation, County Dimension Date (depends on granularity, but if monthly then will be correctly calculated

MichalCK_1-1722604449129.png

 

MichalCK_0-1722604380361.png

And another calculation using Month Counter, where you do ROCE% * 12 / Month Counter

 

Answers (2)

Answers (2)

MKreitlein
Active Contributor
0 Likes

Hello @TanyaSrivastava 

maybe my solution is too simple ... but what about if you create some restricted key figures first?

In the classic model you can restrict those in the account dimension via the editor, just one simple example:

Restricted_KF.png

Afterwards, in the story, you can reuse them and create several calculated key figures for your formulas.

If you restrict the date in the model Key figures, you can easily change it year after year.

BR, Martin

TanyaSrivastava
Participant
0 Likes

Hi @N1kh1l ,

ROCE% formula is mentioned below:
ROCE % = Capital Employed/Operating Profit

In my model i have loaded the data only for Q1 of 2023. 
Now, based on the data which i have loaded system is calculating the correct value, below is an example:

Capital Employed100
Operating profit20
ROCE %20.00%

Now, the client has a requirement that this value should be annualized for the year, which means we need to put a formula ROCE% * 12 months/3months

ROCE for Q120.00%
No of Month till which the data has been loaded3
Total no. of months12
Annualized ROCE%80.00%

How to achieve this in SAC?

Regards,
Tanya