Skip to content

hierarchy.create

Creates a hierarchy within a dimension.

js
hierarchy.create(dimension, hierarchy)
hierarchy.create(dimension, hierarchy)

Parameters

  • dimension - The dimension in which to create a hierarchy.
  • hierarchy - The identifier of the hierarchy created.

Example

js
hierarchy.create("Account", "Profit and Loss");
hierarchy.create("Account", "Profit and Loss");