cancel
Showing results for 
Search instead for 
Did you mean: 

How to give solving priority to calculated measure over account formula in SAC?

Sorro
Explorer
0 Kudos

Hello,

I've a calculation (Margin %) that is not performing as expected at parent level (red value):

 

Table.png

The result is being displayed in a calculated measure (at story level) Amount_A+B, which is simply the sum of Amount_A and Amount_B measures. In the other hand, the Margin % it's a formula account. What it's happening it's that in a first step the account formula it's being calculated, and in the second step the sum of the measures is beign performed, obtaining the wrong result. I guess if I change the calculation order (first the sum of measures, then the account formula) it would work well.

 

I've tried changing the structure priority in the model preference, to give priority to measures, but that doesn't affect the result.

Priority.png

Is there something am I missing here?

Thanks in advance.

 

Accepted Solutions (1)

Accepted Solutions (1)

N1kh1l
Active Contributor

@Sorro 

You will see the calculation priority here 

N1kh1l_0-1711052813609.png

 

Answers (2)

Answers (2)

sivapula
Explorer
0 Kudos

Hi,

Both Measures & Accounts should be at [created in] the Model Level, not at the Story Level.
And try checking the data[preview] at the Model Level Calculations. If it is the issue at the Model Level, then it should be checked at the Model Level. If it is correct at the Model Level, need to look into the issue at the Story Level. If you feel, it is the issue with product then need to raise ticket to SAP.

Thanks, Siva.

N1kh1l
Active Contributor
0 Kudos

@Sorro 

Under structure priority you have custom priority options. Once enabled, In the calculation measure designer section in modeler view, you can set custom priority of various calculated accounts and calculated measures.

 

Br.

Nikhil

Sorro
Explorer
0 Kudos

Hello @N1kh1l

I already tried that, but I don't see where I can give custom priority to my account, can you help me with a quick pointing out or a screenshot please?

Thanks

Sorro
Explorer
0 Kudos

-erased