TI process to delete all C elements in a particular hierachy
Posted: Wed Oct 13, 2010 4:23 am
Hi
I have an alternative dimension hierachy that is to be destroyed and rebuilt every night (rebuilt based on CSV file). Only C levels to be rebuilt (N elements not to be touched to preserve data). I can figure out how to build this however I can not find an easy way to destroy a particular hierachy and all its C element children. (given I dont know the children names)
"DIMENSIONELEMENTDELETE" works but as I do not know the names of the children I cannot hardcode it. I have considered dynamic MDX subsets but figure this will not work as the subset would change each time I delete a C element child.
Can anyone help with how I can destroy all consolidaion levels under a parent in a dimension.
I have an alternative dimension hierachy that is to be destroyed and rebuilt every night (rebuilt based on CSV file). Only C levels to be rebuilt (N elements not to be touched to preserve data). I can figure out how to build this however I can not find an easy way to destroy a particular hierachy and all its C element children. (given I dont know the children names)
"DIMENSIONELEMENTDELETE" works but as I do not know the names of the children I cannot hardcode it. I have considered dynamic MDX subsets but figure this will not work as the subset would change each time I delete a C element child.
Can anyone help with how I can destroy all consolidaion levels under a parent in a dimension.