<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCX94J4" height="0" width="0" style="display:none;visibility:hidden"></iframe>

TM1 Function for Rules,​ ​ELEMENTISANCESTOR

ELEMENTISANCESTOR determines if the element is an ancestor of another element or not.

Where can the ELEMENTISANCESTOR function be used?

Rules and TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the ELEMENTISANCESTOR function?

ELEMENTISANCESTOR determines if the element is an ancestor of another element or not. Function returns 1 if the element is ancestor of another element. ​

What is the syntax for ELEMENTISANCESTOR?

ElementIsAncestor(dimension, hierarchy, element1, element2)​
Dimension = A dimension name.​
Hierarchy = The name of the hierarchy.​
Element1= The name of a consolidated element. ​
Element2 = The name of an element.

A demonstration on how to use ELEMENTISANCESTOR

​Use ElementIsAncestor function to determine if the consolidation element is an ancestor of another element or not and apply it in the rule to populate the Comment measure in the Employee Salaries cube.