Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products. All content is subject to change and is provided without warranty.
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])
Example:
GetObjectDimension(1)
Qlik Sense table showing examples of the GetObjectDimension function in a chart expression
transaction_date
customer_id
transaction_quantity
=GetObjectDimension ()
=GetObjectDimension (0)
=GetObjectDimension (1)
2018/08/30
049681
13
transaction_date
transaction_date
customer_id
2018/08/30
203521
6
transaction_date
transaction_date
customer_id
2018/08/30
203521
21
transaction_date
transaction_date
customer_id
If you want to return the name of a measure use the GetObjectMeasure function instead.
Measure
A measure is a calculation base on one ore more aggregations. For example, the sum of sales is a single aggregation, while the sum of sales divided by the count of customers is a measure based on two aggregations.