Home > OLAP Calculation Templates > Hierarchy Members > Ancestor at Level (Text)
![]() Previous |
![]() Next |
Returns the ancestor of the current dimension member at a specified level in the dimension hierarchy.
Ancestor of the current member of the dimension dimension hierarchy hierarchy at level level.
This calculated measure returns the name of each customer's region
Ancestor of the current member of the CUSTOMER dimension CUSTOMER.SHIPMENTS hierarchy at CUSTOMER.SHIPMENTS.REGION level.
The Ancestor column shows the Customer's region. Customer values that are not in the Shipments hierarchy, such as BAVARIAN IND, do not have a value.
Customer Ancestor -------------------- -------------------- AMER AMER APAC APAC AUS APAC BAVARIAN IND BAVARIAN IND BON EMEA BAVARIAN IND IRV AMER BAVARIAN IND LON EMEA BAVARIAN IND MUN EMEA