Skip to content

hierarchy.position

Returns the position of an element in the hierarchy.

js
hierarchy.position(dimension, hierarchy, element)

Parameters

  • dimension - The dimension in which the selected hierarchy exists.
  • hierarchy - The identifier of the hierarchy to search.
  • element - The identifier of the element to get the position of.

Example

js
let position = hierarchy.position("Account", "Management Profit and Loss", "EBIT");