Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How Can I remove certain Items from a List Box

I don't want to show particular data in a list box.

I have tried this but not working for me.

in the expression pane

if(ListBoxfield='D',Null(),ListboxField)

what it does for me is:

A     A

B     B

C     C

D     -

what I want is :

A

B

C

Please Help.

Regards,

Gaurav Tyagi

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

No. See the screenshot:

asd.png

View solution in original post

6 Replies
tresB
Champion III
Champion III

Try:

if(ListBoxfield<>'D',ListboxField)

Not applicable
Author

Still the same result, No change.

I'm writing it in the second tab i.e. Expression Pane is it the place where I have to write it?

tresB
Champion III
Champion III

No. See the screenshot:

asd.png

Not applicable
Author

TAKE ONE LIST BOX

AND GOTO LIST BOX PROPERTY AND IN THE EXPRESSION TYPE THE BELOW CODE(

=IF(OrderNo <>'D', OrderNo) 

CHECK THE SCREEN SHOT (ATTACHED).

PP.PNG.png

suniljain
Master
Master

You can use following expression

if(Len(ListBoxfield)>1,ListboxField)

Not applicable
Author

I didn't scroldown that much before have too many fields in the table

Thanks