I'm creating a scenario model which is based on two measures. I'd like my model to only apply a specific forecasted % to a row, if the measure is "total company" and profit share measure "Construction". However, I cant use the NESTED IF function which I would use in excel as its not letting me use multiple items on the same dimensation. This is the syntax I have so far:
IF ITEM(Profit Share Measures) = Profit Share Measures.Story Contracting Company Total THEN '(E1) Scenario Model'.Company % to Apply[SELECT: Total Company.CONSTRUCTION] ELSE '(E1) Scenario Model'.Profit % To Apply[AVERAGE: '(E1) Scenario Model'.Profit Share Measures]
To explain I want to bring through the forecasted % for each division of the company, however, in the total company I want to apply the company % forecasted for that specific division which may differ for each division.
Solved! Go to Solution.
Hello @SPratt01,
Not sure if I have correctly interpreted your question or the required functionality correctly but here goes...
I would suggest that rather than use a nested if approach, which could require a multiple IF statements to capture the various Divisions of the Company (assuming Construction is not the only one), that you consider the following approach...
Create Lists:
Create Modules:
Essentially, I have defined a % at both a Company AND a Division level. I have then created a 'Co. Level Profit Share' Line item and used LOOKUP (**with reference to L2 Division.Company**) within the Calculation Module to return the Company Level % * Profit to Share. Additionally, I have created a 'Div Level Profit Share' which is much simpler as the module is dimensioned by Division.
Alternatively, in Example 2 I created an additional module (see 'Scenario Model Example 1' blueprint in screenshot) to approach this in a slightly different way,
Hope this helps,
Hello @SPratt01,
Not sure if I have correctly interpreted your question or the required functionality correctly but here goes...
I would suggest that rather than use a nested if approach, which could require a multiple IF statements to capture the various Divisions of the Company (assuming Construction is not the only one), that you consider the following approach...
Create Lists:
Create Modules:
Essentially, I have defined a % at both a Company AND a Division level. I have then created a 'Co. Level Profit Share' Line item and used LOOKUP (**with reference to L2 Division.Company**) within the Calculation Module to return the Company Level % * Profit to Share. Additionally, I have created a 'Div Level Profit Share' which is much simpler as the module is dimensioned by Division.
Alternatively, in Example 2 I created an additional module (see 'Scenario Model Example 1' blueprint in screenshot) to approach this in a slightly different way,
Hope this helps,