Skip to content

HIERARCHYBYPOSITION ^v2.7.184

Returns the name of the hierarchy at the specified position in the dimension.

js
HIERARCHYBYPOSITION(dimension, position)

Parameters

  • dimension - The name of the dimension.
  • position - The position of the hierarchy.

Examples

js
HIERARCHYBYPOSITION("Account", 1)

Note: Returns the name of the first hierarchy in the Account dimension.