on 03-02-2023 3:36 PM
Hi
I have an SAC Planning Model which contains the following planned data:
The Product also has a property
Now I want to copy the Data to a different Planning Model an write the Property, Product Group into an own dimension that it looks like this:
My current approach would be to copy via a Data Action with the Cross-Model Copy and in a next step derive this information with an advanced formula. So far I had no success with the advanced formula.
Any input is appreciated!
Thanks
Christian!
christian.willi
christian.williYou can follow 2 approaches as below.
Approach 1: 2 step process. First use cross model copy step and copy all data from [Model1] to [Model2]. For Product Group in [Model2] use #, so all data will be copied at Product group # in [Model2]
Now use a Advanced Formula to assign the right product group in step 2 and delete the data at #
MEMBERSET [d/PRODUCT_GROUP] = "#"
DATA([d/PRODUCT_GROUP]=[d/PRODUCT].[p/PRODUCTGROUP])=RESULTLOOKUP()
DELETE()
You can combine both this step into a Multi action for ease of use.
Approach 2: Use of LINK formula in Advanced Formula Data Action in [Model2] to create the data. Please adjust the dimensions and measures accordingly as per your model.
MEMBERSET [d/Date] = "202101" TO "202112" // Adjust accordingly
MODEL [MODEL1] // Source Model
MEMBERSET [d/PRODUCT] = BASEMEMBER([PRODUCT].[h/parentId], "Total_Product")
ENDMODEL
DATA([d/Measures] = "Amount",[d/PRODUCT_GROUP] = [MODEL1].[PRODUCT].[p/PRODUCTGROUP]) =
LINK([MODEL1], [d/Measures] = "Amount", [d/Version] = "public.Plan")
Hope this helps.
Please upvote/accept if this helps you.
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 |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.