Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

deselect using trigger

Hi There,

I have 2 tables are not not linked.I want to keep them as it is and doing selection on one field value will perform selection on other using onSelect trigger(in document properties).

OnSelect trigger-(SelectInField)

Field:Branch2

Value: =IF(GetSelectedCount(Branch1),'('&Replace(Concat(DISTINCT Branch1,'|'),' ','?') & ')','')

The issue i notice is, when user do multiple selections and try to clear the one of the selection, "the trigger doesn't remove the selection".

Say I selected on Field Country1, the trigger automatically select on Country2(if value is found). But when i do futher selection on Field Location1 and then deselect it, the trigger doesn't remove the selection on Location2.

eg- Select on Country1- UK, then select on Location1- London and deselect Location1- London, you will notice Location2- London is not deselected.

This issue is not there when it is single selection.

Please help.

1 Solution

Accepted Solutions
sunny_talwar

You will need to add the trigger to OnChange also

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

You will need to add the trigger to OnChange also

Capture.PNG

surajap123
Creator III
Creator III
Author

‌Thanks a ton Sunny