on ‎2018 Jun 02 11:30 PM
Hi Gurus,
I have a question with regards to a mapping between dimensions that I am trying to accomplish thru the DESTINATION_APP.
I have my source model X and my target model Y. I am Renaming DIM1 from model x to the members with PROPERTYdim1ID = DIM1 in DIM2 from model Y, is this possible?
*RENAME_DIM DIM1 = DIM2.PROPERTYdim1ID
where property "PROPERTYdim1ID" is a property of DIM2 in the target model which is mapped to DIM1 in source model
Request clarification before answering.
Sorry, but the dimension with property has to be in the source model, not in the target.
Source:
DIM1 Property: DIM2TARGET - containing member of DIM2 in target model.
Target DIM2
For this scenario you can use RENAME_DIM with:
*RENAME_DIM DIM1=DIM2
...
*REC(EXPRESSION=%VALUE%,DIM1=DIM1.DIM2TARGET)
Or you can use ADD_DIM with property:
*ADD_DIM DIM2=DIM1:DIM2TARGET
Please read help:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
Sorry for the late response and thanks for the reply. I totally agree with you but the issue that I am facing is that DIM1 from the source model has a "1 to Many" relationship with DIM2 in the target model. That is why I was inquiring about possibly reversing the mapping process with *RENAME_DIM.
Is there a work around this with DESTINATION_APP?
"Source dimension members ID (DIM1) mapped to a property of the Target dimension members (DIM2)"
Hi,
Please try using below method:
In the Destination App, while writing *RENAME_DIM, write as *RENAME_DIM DIM1=DIM2
and further mention the destination members in record expression line as below.
*REC(EXPRESSION=%VALUE%,DIM2=DIM1.PROPERTY)
Hope it resolves your issue.
Thanks
Astha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 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.