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: 
Not applicable

How many items are selected in a listbox

Hello everyone,

I'm searching for a function to get the information, how many items in a listbox the user has selected. I have months in a listbox an need to change the scale of the speedmeter on the information how many items are selected.

I know that with

=only([monthlistbox])

I can read the name of the selection. But I can't find a solution for how many items are selected.

Thanks for an answer and best regards!

Andre Voth

1 Solution

Accepted Solutions
Not applicable
Author

Hi

Use the following:

GetSelectedCount("monthlistbox")


This assumes that "monthlistbox" is actually the field name in the list box.

View solution in original post

3 Replies
Not applicable
Author

Hi

Use the following:

GetSelectedCount("monthlistbox")


This assumes that "monthlistbox" is actually the field name in the list box.

Not applicable
Author

hi,

probably u can use count function

ex: count(distinct [monthlistbox])

thanks

Not applicable
Author

Thank you very much, this was exactly the funtion I was looking for but not able to find...

Andre