Rule Functions

TM1 Function for Rules – ELEMENTPARENTCOUNT

Available In

Rules and TurboIntegrator

Definition

​ELEMENTPARENTCOUNT returns the number of parents of an element in the dimension.   

Syntax

ElementParentCount(dimension, hierarchy, element, index)​​

Dimension =  Dimension name.

Hierarchy = The name of the hierarchy.

Element = The name of an element within the dimension.

Video Demo

Use ElementParentCount function to retrieve the number of parents of an element of the Employee Hierarchies dimension and apply it in the rule to populate in the Employee Salaries cube.