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)
Example: Chart expression
QlikView table showing examples of the GetObjectMeasure function in a chart expression.
Example 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.