Go to primary content
Previous
Previous
 
Next
Next

Hierarchy Level (Text)

Returns the level of each member in the specified dimension hierarchy.

Template

Level of the current member in dimension and hierarchy.

Example

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

Calculation

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

OLAP Expression Syntax

HIER_LEVEL(CUSTOMER.SHIPMENTS)

Query Results

The Level column shows the Shipments hierarchy level of each Customer.

Customer             Level              
-------------------- --------------------
AMER                 REGION              
APAC                 REGION              
AUS                  WAREHOUSE           
BAVARIAN IND         ACCOUNT             
BAVARIAN IND BON     SHIP_TO             
BAVARIAN IND IRV     SHIP_TO             
BAVARIAN IND LON     SHIP_TO             
BAVARIAN IND MUN     SHIP_TO