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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!!
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.