DE.PARENTSCOUNT

Returns the number of parents.

Syntax

DE.PARENTSCOUNT(Dimension, Element)

Examples

The Bayern element in the REGION dimension rolls up into the parent, Germany. This example returns 1:

DE.PARENTSCOUNT('REGION', 'Bayern')

The Germany element in the REGION dimension rolls up into the parent, European Union and in another hierarchy into the parent, Central Europe. This example returns 2:

DE.PARENTSCOUNT('REGION', 'Germany')