Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic Reference Line by Dimension

I want a reference line that is dynamic based on the dimension selected in the chart. I am currently trying to use getObjectField() to do this but I can't get it to work. It looks like this:

=avg(total aggr(avg([Is In Arrears (MonthEnd)])
,$(= '[' & getobjectfield(0,'GnfAza') & ']')
,$(= '[' & getobjectfield(1,'GnfAza') & ']')
))

Can anyone help please?

Labels (1)
1 Reply
sunny_talwar
MVP
MVP

Would you be able to share a sample where you have tried this? The syntax looks to be right.