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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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?

1 Reply
sunny_talwar

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