Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sammie0808
Contributor III
Contributor III

How to you always select multiple fields in a list box: Qlikview 12

In qlikview 12 you can go to the list box properties and select "Always one selected value" which works great.  I but i need to "always select 2 values" in this list box?

Can anyone please let me know how to do that?

Thanks,

Doug

3 Replies
Anil_Babu_Samineni

May be triggers on Document Event Triggers like. Ctrl + Alt + D --> Triggers --> DET --> OnOpen --> Actions --> Add --> Selection --> Select in Field --> Field called(Your field name) --> Search String may be use this ("Value1","Value2")

and then do same process for Lock and then check.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
maxgro
MVP
MVP

An example with trigger in the attachment

Use ctrl to change the values in the listbox

MarcoWedel

Hi,

one solution might be:

QlikCommunity_Thread_254772_Pic1.JPG

='('&Concat($(=If(GetSelectedCount(Year)>1,'','{$1}')) DISTINCT Year, '|')&')'

see also:

Listbox object to show always one selected value with flexibility to select more than one value from...

hope this helps

regards

Marco