Go to primary content
Previous
Previous
 
Next
Next

Hierarchy Parent (Text)

Returns the parent of each member of the specified dimension hierarchy. A null indicates the member does not belong to the hierarchy.

Template

Parent of the current member in dimension and hierarchy.

Example

This calculated measure returns the parent of each customer in the Shipments hierarchy.

Calculation

Parent of the current member in CUSTOMER and CUSTOMER.SHIPMENTS.

OLAP Expression Syntax

HIER_PARENT(CUSTOMER.SHIPMENTS)

Query Results

The Parent column shows the parent of each customer in the Shipments hierarchy.

Customer             Parent              
-------------------- -------------------- 
AMER                 TOTAL               
APAC                 TOTAL               
AUS                  APAC                
BAVARIAN IND                             
BAVARIAN IND BON     GER                  
BAVARIAN IND IRV     US                   
BAVARIAN IND LON     UK                   
BAVARIAN IND MUN     GER                  
BAVARIAN IND ROM     ITA