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

Announcements
Mastering Change Data Capture: Read Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

OnChange Trigger

Hi all,

I was hoping someone could help me with a quesiton about forced deselection. 

I have two multiboxes-- one is Market and one is Sales Rep.  Say that I first choose a Market, and then I choose a Sales Rep.

The desired action:  When I deselect Market, I would like Sales Rep to also be deselected.  However, I do not want action where I select a Market and then it triggers a selection of a Sales Rep.  I've tried using the OnChange Trigger, in the Doc. properties, but I can't seem to get this to work. 

Any suggestions would be much appreciated!!

1 Reply
marcus_sommer

Perhaps you could use an extra variable for this and set an OnChange trigger on the variable:

vSelections = if(GetSelectedCount(Market) = 0, 0, 1)

- Marcus