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

How to display only limited values in list box?

Hi,

I have column as list box . The values are Soaps, Clothes, Bats, Pens, 1,4342,4435,7423847,4783274283,67,9,10,11,12

How can I make available to display only Soaps, Clothes, Bats, Pens?

Thanks.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Write below expression in your list box

=IF(NOT IsNum(Value),Value)

UPDATE : Check enclosed file..

View solution in original post

5 Replies
MK_QSL
MVP
MVP

Write below expression in your list box

=IF(NOT IsNum(Value),Value)

UPDATE : Check enclosed file..

alexandros17
Partner - Champion III
Partner - Champion III

Write instead of your field the expression (you find the item menu expression at the end of the list of fields)

if(myField = 'Soaps' or myField = 'Clothes' or myField = 'Bats' or myField = 'Pens', myField, null())


hope it helps

Not applicable
Author

Thanks where I need to give is it

expression-> show-> conditional

Not applicable
Author

you can create another field like this in dm or you can write similar expression in list box but its not performance effective

load      if(isnum(TestField)=0,TestField) as TestField;

Load * inline

[

TestField

Soaps

Clothes

Bats

Pens

1

4342

4435,

7423847

];

Not applicable
Author

Thanks and that's perfect.