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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
adamdavi3s
Master
Master

Set analysis / trigger- hardcoding multiple selections

Hi All,

I am sure this is a really stupid question, but I have only been using Qlikview for three days!

I am using a sheet trigger to activate a listbox selection as I only want it to be active on this sheet.


I can get it working for one value:

trigger- Select In Field

Field- actlvl3_code

Search String ='1AGENCY'

But I can not for the life of me work out the syntax for multiple values!

I.e I want the search string to be (in SQL terms) = IN('1AGENCY','1BANK')

1 Solution

Accepted Solutions
Not applicable

You need to use ToggleSelect for any value after the first.

Select In Field - actlvl3_code - 1AGENCY
ToggleSelect - actlvl3_code - 1BANK


ToggleSelect will make another selection while keeping the current selection. If the value is already selected, it will unselect it.

View solution in original post

3 Replies
Not applicable

You need to use ToggleSelect for any value after the first.

Select In Field - actlvl3_code - 1AGENCY
ToggleSelect - actlvl3_code - 1BANK


ToggleSelect will make another selection while keeping the current selection. If the value is already selected, it will unselect it.

adamdavi3s
Master
Master
Author

Fantastic thank you!

I think things will become a lot clearer once I have the developer course under my belt!

Not applicable

Yeah, don't sweat it. The Triggers are a new feature, so they are still a little tricky. The Select/ToggleSelect requirement is the same as the macro API, so macro writers are used to doing it that way. It's all about repetition; after you create a few more, it will be second nature.