RDESCENDANTS Errors
in Planning
Summary:
Using the function
I found a couple of errors and wonder how you dealt with it.
My script structure:
@REMOVE ( @Relative( Total of Main-Hierarchy , 0) , @LIST ( @RDESCENDANTS ( Sub-Hierarchy with Shared Members of Alternative-Hierarchy , 0) , UDA(Locked_Elements) )
- Error: Level-0-Members that are shared from the Main-Hierarchy are not removed
- Error: Implied shared parent members are also not considered, hence the single child of the parent is also not removed from the main hierarchy
The REMOVE only works for shared parent members that have more than one child member in the Main-Hierarchy.
The Alternative-Hierarchy contains the shared members that are based on Members from the Main-Hierarchy. Shared Members are Level0-members, Parents members with one child (implied shared parent), and parent members with several child members.
Tagged:
0