HierarchyExists

HierarchyExists determines whether a specific hierarchy exists on the server from which a TurboIntegrator process is executed. The function returns 1 if the hierarchy exists on the server, otherwise it returns 0.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

HierarchyExists(DimName, HierName);

Argument

Description

DimName

The name of the dimension that contains the hierarchy whose existence you want to confirm.

HierName

The name of the hierarchy within the dimension.

Example

HierarchyExists('Region', 'Europe');

This example determines if the Europe hierarchy, in the Region dimension, exists on the server.