Skip to content

element.principal

Returns the name of an element from the alias.

js
element.principal(dimension, alias)

Parameters

  • dimension - The dimension in which to identify the element.
  • alias - The alias of the element to identify.

Example

js
element.principal("Account", "Net Profit");