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.
GetObjectField() 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.
Syntax:
GetObjectField ([index])
Example:
GetObjectField(1)
QlikView table showing examples of the GetObjectField function in a chart expression.
Example GetObjectField usage
transaction_date
customer_id
transaction_quantity
=GetObjectField ()
=GetObjectField (0)
=GetObjectField (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
In this example, transaction_quantity is a measure and would therefore not return a result from the GetObjectField function. Use the GetObjectMeasure function instead.
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!
Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com