Returns the parent of each member of the specified dimension hierarchy. A null indicates the member does not belong to the 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