Hi,
I tried the HierarchyCount Rules Function but it does not work. It always returns 0, even though I can see in PAX that the dimension has 11 hierarchies (including the Classic Hier and the Leaves Hier).
The original problem I was trying to get around was when trying to update a dimension and I got errors either saying that I could not insert an element as a leaf because a consolidation of the same name already exists or vice-versa. The only way to avoid these errors seems to be to loop around all possible hierarchies to see if the element already exists and if so then do not try to insert it.
Ideally there should be a function in TI that does this automatically - a DimensionElementExistsInAnyHier function.
I cannot see any reason why the HierarchyCount function cannot be used in TI. In general any rule function can be used in TI, bar the obvious such as SKIPCHECK that would make no sense outside of rules.
Regards
Paul Simon
------------------------------
Paul Simon
------------------------------
#PlanningAnalyticswithWatson