We can rename an element in a TM1 dimension by using a function called SwapAliasWithPrincipalName
Steps:
- Create a new alias "new" in the Dimension, by default the new elements are identical
- Change all required elements to their new names in the "new" created alias
- Create a new TI process with the following line in the Prolog:
- SwapAliasWithPrincipalName(Dimension,'new',0);
- The third parameter needs to be zero to execute the swap. If it has any other purpose, please edit/leave a comment
0 comments:
Post a Comment