TM1 Function for Rules,​ ELEMENTPARENTCOUNT

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

Where can the ELEMENTPARENTCOUNT function be used?

Rules and TurboIntegrator

What is the ELEMENTPARENTCOUNT function?

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

What is the syntax for ELEMENTPARENTCOUNT?

ElementParentCount(dimension, hierarchy, element, index)​​
Dimension =  Dimension name.​
Hierarchy = The name of the hierarchy.​
Element = The name of an element within the dimension.

A demonstration on how to use ELEMENTPARENTCOUNT

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.