Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
akile002
Contributor
Contributor

Select Multiple Items in Listbox on Sheet Activation

I have a listbox with multiple numbers. When the sheet is activated, I want the numbers 41 and 44 selected. Is it possible to do this?

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Yes, you can use the OnActivateSheet sheet trigger to execute a Select in Field action. Open the sheet properties window and select the Triggers tab. Click on the Add Action(s)... button under OnActivateSheet. Click on the Add button to add an action. Choose Select in Field and click on OK. Next enter the field name of the field you want to select the numbers in. Enter as search string (41|44). Click on OK and again OK to add the action to the trigger.


talk is cheap, supply exceeds demand

View solution in original post

6 Replies
Gysbert_Wassenaar

Yes, you can use the OnActivateSheet sheet trigger to execute a Select in Field action. Open the sheet properties window and select the Triggers tab. Click on the Add Action(s)... button under OnActivateSheet. Click on the Add button to add an action. Choose Select in Field and click on OK. Next enter the field name of the field you want to select the numbers in. Enter as search string (41|44). Click on OK and again OK to add the action to the trigger.


talk is cheap, supply exceeds demand
akile002
Contributor
Contributor
Author

Thank you. This worked perfectly.

Not applicable

How do I do when the listbox values are text ?

I have tried the pipe but I only get first value selected upon activation of the sheet

israrkhan
Specialist II
Specialist II

Hi Fredrik,

in case of text box try like below:

in search string. let say you have these three values.

='(Fulfilled | "Partially Fulfilled" | Closed)'

you saw the " " around Partially Fulfilled value, because it has space, its is one value "Partially Fulfilled"

hope it helps..

Not applicable

Thanks it works now

dmohanty
Partner - Specialist
Partner - Specialist

Hello @Gysbert_Wassenaar  - hope you are doing good.

How to get the regular display in Current Selection Box like 41, 44 instead of (41|44), even though we click thru button ?