HierarchyContainsAllLeaves

HierarchyContainsAllLeaves returns true only if the specified hierarchy contains the full set of leaf elements that are present in the dimension. That is, it contains all the leaf elements that can be seen in the special Leaves hierarchy. If the specified hierarchy is missing one or more leaf elements, this function returns false.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

HierarchyContainsAllLeaves(DimName, HierName);

Argument

Description

DimName

The name of the dimension that contains the all leaves hierarchy.

HierName

The name of the hierarchy you are determining as an all leaves hierarchy.

Example

HierarchyContainsAllLeaves('Region', 'Leaves');

This example determines if the Leaves hierarchy, in the Region dimension, contains all leaf members.