Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I remove a filter from a List Box?

Hello, I'd like to know how to remove filters from a list box.

I have a master table for Country and when I create my list box it will show the following:

Belgium

Holland

Denmark

England

I only want the list box to show Belgium and Denmark.

How can I achieve this?

Thanks,

Fernando

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Check Enclosed File..

View solution in original post

5 Replies
MK_QSL
MVP
MVP

Write below in List Box Expression

IF(Country = 'Belgium' or Country = 'Denmark', Country)


2nd Option...

Write below in List Box Expression


=Pick(Match(Country,'Belgium','Denmark'),'Belgium','Denmark')

venkatg6759
Creator III
Creator III

List box Expression

=aggr(only({<Country={'Belgium','Denmark'}>}Country),Country)

Not applicable
Author

Hi Manish, thanks for your suggestions. I used the formula in the expression for my list box. However, when typing it will get this:

(List Box) Country;

Belgium - Belgium

Holland -

Denmark - Denmark

England -

Instead of being:

(List Box) Country:

Belgium

Denmark

Any advice?

Thank you in advance.

Fernando

MK_QSL
MVP
MVP

Check Enclosed File..

Not applicable
Author

Thanks, I was going into the tab "Expression" and that's why it didn't worked.

However, with your example it works like charm!

Thank you!