TM1 Dynamic Subsets
Posted: Tue Mar 24, 2015 7:20 pm
Hi ,
We have many subsets used in our TM1 environment. Say most of the subset will work on getting the last level elements from the dimension.
Since data will change every day I want to write a process to update all these subsets data.
SO I will have a separate cube which has all dimension subset names and MDX expression as values.
Now I need a TI process to automatically create the dynamic subset with this cube as a source.
First I will have update the Dimension subset name to include any new subsets that are added and then add the mdx expression and dimension name to the cube.
Once this is done I need to create a temporary subset for all the subset names and then copy the contents from there to the existing subset names.
How do I make this last part , work of creating a temp subset and then copying its content to the existing subset. Do I write it in a loop .
Can you guys suggest me on how to approach this or a sample code
Thanks,
Manu
We have many subsets used in our TM1 environment. Say most of the subset will work on getting the last level elements from the dimension.
Since data will change every day I want to write a process to update all these subsets data.
SO I will have a separate cube which has all dimension subset names and MDX expression as values.
Now I need a TI process to automatically create the dynamic subset with this cube as a source.
First I will have update the Dimension subset name to include any new subsets that are added and then add the mdx expression and dimension name to the cube.
Once this is done I need to create a temporary subset for all the subset names and then copy the contents from there to the existing subset names.
How do I make this last part , work of creating a temp subset and then copying its content to the existing subset. Do I write it in a loop .
Can you guys suggest me on how to approach this or a sample code
Thanks,
Manu