ELISPAR

ELISPAR determines whether element1 is a parent of element2 in the specified dimension. The function returns 1 if element1 is a parent of element2, otherwise the function returns 0.

This function is valid in both rules and TurboIntegrator processes.

Syntax

ELISPAR(dimension, element1, element2)

Argument

Description

dimension

A valid dimension name.

element1

The name of an element within the dimension.

element2

The name of an element within the dimension.

Example

In the dimension Region, the consolidated element Central Europe is the parent of both Germany and France. Accordingly, the following example returns 1.

Note: this function returns 1 only for immediate parents. In this example, Europe is a parent of Central Europe. Further, Central Europe is a parent of Germany.
ELISPAR('Region','Central Europe','Germany')

However, because Europe is not an immediate parent of Germany, the following example returns 0:

ELISPAR('Region','Europe','Germany')