# GetObjectMeasure

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.

Syntax:

GetObjectMeasure ([index])

Example:

`GetObjectMeasure(1)` ` `

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getobjectmeasure.htm)

#### Example: Chart expression

QlikView table showing examples of the GetObjectMeasure function in a chart expression.

Example GetObjectMeasure GetObjectMeasure usage

| transaction\_quantity | transaction\_amount | =GetObjectMeasure () | =GetObjectMeasure (0) | =GetObjectMeasure (1) |
| --- | --- | --- | --- | --- |
| 13 | 484.21 | transaction\_quantity | transaction\_quantity | transaction\_amount |
| 6 | 556.31 | transaction\_quantity | transaction\_quantity | transaction\_amount |
| 21 | 177.42 | transaction\_quantity | transaction\_quantity | transaction\_amount |

If you want to return a dimension, use the GetObjectField function instead.