Copy Hierarchical Dimension
Posted: Fri May 25, 2012 2:26 pm
Hi All,
I have a requirement where I have to copy entire one hierarchical dimesion to another dimension in same order using TI.
I went through the forum and there were many post with codes to copy diemension but all were creating messy dimensions.
I want something clean and proper.
I do understand that TM1 is missing a function which can tell parent for the given element.
Following is a dimension example
All
----Country 1
---------------City1
---------------------Center1
---------------------Center2
---------------City2
---------------------Center3
---------------------Center4
----Country 2
---------------City3
---------------------Center5
---------------------Center6
----Country 3
---------------Center7
---------------Center8
I am trying to developing code for this but It would be a great help if any of you can share a TI code for above requirement if has done earlier.
Regards,
Lav
I have a requirement where I have to copy entire one hierarchical dimesion to another dimension in same order using TI.
I went through the forum and there were many post with codes to copy diemension but all were creating messy dimensions.
I want something clean and proper.
I do understand that TM1 is missing a function which can tell parent for the given element.
Following is a dimension example
All
----Country 1
---------------City1
---------------------Center1
---------------------Center2
---------------City2
---------------------Center3
---------------------Center4
----Country 2
---------------City3
---------------------Center5
---------------------Center6
----Country 3
---------------Center7
---------------Center8
I am trying to developing code for this but It would be a great help if any of you can share a TI code for above requirement if has done earlier.
Regards,
Lav