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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Fire a field event on deselect possible?

Hi all,

I'll try to replace a chart with another one. So I'm using a field event trigger, as the first diagram shall only show if there is nothing selected in my field 'A'. With a selection, diagram 1 get hidden and 2 appears. That's fine. Problem is, that I want to come back to diagram 1 as soon as the user deselects the value from field 'A'.

Is that possible?

Thanks, Regards,

Jens

1 Solution

Accepted Solutions
ankit777
Specialist
Specialist

Hi instead of trigger, use getselectedcount() function.

getselectedcount(fieldname)=0 for diagram 1

getselectedcount(fieldname)>0 for diagram 2

View solution in original post

2 Replies
ankit777
Specialist
Specialist

Hi instead of trigger, use getselectedcount() function.

getselectedcount(fieldname)=0 for diagram 1

getselectedcount(fieldname)>0 for diagram 2

Not applicable
Author

Working, thanks a lot.