on 11-24-2022 2:17 PM
Hello,
My two Models have some common dimensions but my Target Model has a Cost Center dimension that does not exist in my source Model. However, Cost Center exists as an attribute of dimension Plant of the Source Model. Dimension Plant is missing from the Target model. I am trying to derive Cost Center by using the LINK formula but it does not work.
My code for writing data is the following:
DATA([d/SALES_ACCOUNT] = "REVENUE DOMESTIC PR", [d/Measures] = "GC_AMOUNT", [d/COST_CENTER] = [SALESPLAN3].[d/PLANT].[p/COST_CENTER]) =
LINK([SALESPLAN3], [d/Measures]="GC_AMOUNT",[d/Version]="public.Actual")
Kind regards,
T.P.
I assume you are writing the Advanced formula in target model to read data from source model (LINK will work this way for your requirement). I see you are not specifying the Account members you want to read from source model. Also add more MEMBERSET for other dimension to narrow the scope both in target model section and source model (MODEL ..... ENDMODEL)
MEMBERSET [d/Date] = "202101" TO "202112" // Adjust or remove accordingly
MEMBERSET [d/Measures]="GC_AMOUNT"
MEMBERSET [d/SALES_ACCOUNT] = "REVENUE DOMESTIC PR"
MODEL [SALESPLAN3]
MEMBERSET [d/Account] = // Add what Accounts you reading from source
MEMBERSET [d/Measures]="GC_AMOUNT"
ENDMODEL
DATA([d/COST_CENTER] = [SALESPLAN3].[d/PLANT].[p/COST_CENTER]) =
LINK([SALESPLAN3],[d/Version]="public.Actual")
Hope this helps!!
Please upvote/accept if this helps.
-Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thodoros_polychronopoulos
thodoros_polychronopoulosGlad it worked for you. What changes did you make for it to work? Please share it. so that it can benefit the larger audience.
-Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.