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: 
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.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

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

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

View solution in original post

2 Replies
tresesco
MVP
MVP

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!