on ‎2023 May 17 9:21 AM
Hey everybody,
I try to understand the "advanced formula" by self teaching however it's harder than I thought.
My challenge: I have 2 models (new) which needs to be linked as one model needs the information from another one.
So I tried to show the situation in the screenshot. Could you give me a hint / starting point how I'm writing this script?
That would be very amazing!
Thanks in advance

Request clarification before answering.
triplicatef
You can try the below approach.
You would need to write the Advanced formula in Model 1.
First scope the intersection where you want to write back the Freight data coming from Model2. I see you have mentioned >200 dimension (not sure if you actually have 200 dimensions).
The actual code will depend on what actual dimensions you have in the model.
MEMBERSET [d/Date] = "202301" TO "202312"
MEMBERSET[d/dim]="AAA" // Add scope where you intend to write the data in model1.
MODEL [MODEL2]
MEMBERSET [d/Invoice] = BASEMEMBER([d/Invoice].[h/parentId], "All invoices") // If invoice has a hierrachy else scope all.
MEMBERSET[d/Dimension2]= "ABC" // Scope the dimensions where Freight data is stored
ENDMODEL
DATA([d/Measures] = "Freight") =LINK([MODEL2], [d/Measures] = "Freight", [d/Version] = "public.Plan01")
Hope 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.
First of all thank you.
could you please tell me where do you exaclty find this „advanced formula“ in the new model? Is it in data actions or do I missunderstood something. It‘s not a calculated measure right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look at the below https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/afe93e3cf1414a7b8419b...
Please upvote/accepts if it helps.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 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.