cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello
I want to build the following story calculation : "all non intercompany accounts for G&A functional area"

My Account/Measure dimension has an Y/N attribute to define if an account is intercompany or not. (the Y/N are set on the node level)
I want to create a restricted calculation that will aggregate all the non-Intercompany accounts for a specific functional area.

All my accounts are hierarchy set under "all account" parent, therefore I can easily choose "All account", when building a restricted measure - but then I'm stuck:
1. I tried to use this restricted calculation and I added on the table level a filter for this interco-attribute- however the result became NULL
2. I tried to work directly on the calculation, however I cannot filter out an attribute based to the Measure/Account Dimension
(see below Print screen)
3. I tried to use a calculated dimension and had the same issues (no attribute for account dimension).


4. then I decided to create a data action that would filter out those Interco-account on a statistic account. however for some reason the data action I've build didn't work. (it did calculate but the result didn't filter out the inter company - I have no idea why)

MEMBERSET[d/ACCOUNT]=BASEMEMBER([d/ACCOUNT].[h/parentId] ,"ALL" )

IF [d/ACCOUNT].[p/P_INTERCO]="N" THEN DATA([d/ACCOUNT]="NON_IC_ACCOUNTS")= RESULTLOOKUP() ENDIF


I'm completely lost I have no more ideas how to work around to make it happen

thank you
0 Likes
View Entire Topic
William_Yu1
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi dd5,

Only fly calculation probably won't work for this type of aggregation, but maybe you try with below simple script.

MEMBERSET [d/Account].[p/P_INTERCO] = "N"

DATA([d/Account] = "NON_IC_ACCOUNTS") = RESULTLOOKUP()

Best regards,. William

Deb_
Participant
0 Likes

it doesn't filter out the interco 😞

William_Yu1
Product and Topic Expert
Product and Topic Expert
0 Likes

at least it works for me... you need to check your model then...

Deb_
Participant

It does?
gonna re-check
although my model seems to be very stable and well build it handles dozens of DA/ALLOC/on the fly and more

nut I found a bug on number 1 - so I'll use it
thank you William!!