Go to primary content
Previous
Previous
 
Next
Next

Child Count

Returns the number of children of each member of the specified dimension hierarchy.

Template

Number of children of the current member in dimension and hierarchy.

Example

This calculated measure returns the number of children for each member of the Customer Shipments hierarchy.

Calculation

Number of children of the current member in CUSTOMER and CUSTOMER.SHIPMENTS.

OLAP Expression Syntax

HIER_CHILD_COUNT(CUSTOMER.SHIPMENTS)

Query Results

The Children column shows the number of child members for each Customer in the Shipments hierarchy.

Customer               Children 
-------------------- ----------  
AMER                          2  
APAC                          4  
AUS                           2  
BAVARIAN IND                  0  
BAVARIAN IND BON              0  
BAVARIAN IND IRV              0  
BAVARIAN IND LON              0  
BAVARIAN IND MUN              0  
BAVARIAN IND ROM              0