Determines if the current member or a specified member is a descendant of the specified parent. This function can be used in these types of rules:
For example, in this hierarchy, FosterCity and Sunnyvale are descendants of California and UnitedStates.
HS.<Object>.IsDescendant("Parent","Element") HS.Node.IsDescendant("Parent"."Entity","S#Scenario.Y#Year.P#Period") HS.<Object>.IsDescendant("Parent","") HS.Custom(Dimension).IsDescendant(Member)
Table 66. Syntax for IsDescendant Function
Depending on the object selected, name of a valid member of one of these dimensions: | |
When you use node as the object, the function determines if the member is an active descendant of the specified parent. |
A Boolean expression that is True if the element is a descendant of the specified parent; False if the element is not a descendant of the specified parent.
For Node, True if the element is an active descendant of the specified parent; False if the element is not an active descendant of the specified parent.
In this example, if Connecticut is a descendant of Regional, then statements between the If...Then and End If lines are executed.