Skip to main content Skip to complementary content

GetObjectDimension - chart function

GetObjectDimension() returns the name of the dimension. Index is an optional integer denoting the dimension that should be returned.

Information note

You cannot use this function in a chart in the following locations: title, subtitle, footer, reference line expression and min/max expression.

Information note

You cannot reference the name of a dimension or measure in another object using the Object ID.

Syntax:  

GetObjectDimension ([index])

Return data type: String

Example: Chart expressions
Example Result
GetObjectDimension ()

GetObjectDimension (0)

Returns the name of the first dimension in the chart.
GetObjectDimension (1) Returns the name of the second dimension in the chart.

Example - GetObjectDimension fundamentals

Example - GetObjectDimension advanced scenario

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!