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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Prav
Contributor II
Contributor II

Lock a value in Listbox

All,

I have a listbox like below. Would it be possible to lock a single value 'ABC' by default. When I want to select '1' it should show both 'ABC' and '1'. Similarly when I select '2' it should show 'ABC' and '2'.

I tried to lock 'ABC' by selecting option 'Always one selected value' but didn't work. After locking 'ABC' when i select'1' it showing '1' only. But I wanto see both 'ABC' and '1' in the list  box.

 

Listbox:

 ABC

 1

 2

 

Thanks.

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

You could use a trigger like in attached. Search string could be like:

='(ABC|' &GetFieldSelections([Field],'|')&')'

View solution in original post

2 Replies
tresB
Champion III
Champion III

You could use a trigger like in attached. Search string could be like:

='(ABC|' &GetFieldSelections([Field],'|')&')'

Prav
Contributor II
Contributor II
Author

Wow...that's exactly what I needed. You are a Star Tresesco. Thank you!