Skip to main content Skip to complementary content

GetObjectMeasure - chart function

GetObjectMeasure() returns the name of the measure. Index is an optional integer denoting the measure 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:  

GetObjectMeasure ([index])

Return data type: String

Example: Chart expressions
Example Result
GetObjectMeasure ()

GetObjectMeasure (0)

Returns the name of the first measure in the chart.
GetObjectMeasure (1) Returns the name of the second measure in the chart.

Example - GetObjectMeasure fundamentals

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!