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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How do I hide values in a list box?

I would like to hide values in a list box.  For example, I have a list box with values - red, blue, yellow, green, purple, I want to hide the value green from appearing in the list box.  Is this possible?

Thanks

Greg

1 Solution

Accepted Solutions
jsingh71
Partner - Specialist
Partner - Specialist

Hi Greg,

You will  writeexpression in list box like

     if(<FieldName> <> 'red', <FieldName>)

Find Example in attachment.

--Jai

View solution in original post

7 Replies
senpradip007
Specialist III
Specialist III

Try like

If(Value <> 'Green', Value)

or

If(not WildMatch(Value , 'Green'),Value )

jsingh71
Partner - Specialist
Partner - Specialist

Hi Greg,

You will  writeexpression in list box like

     if(<FieldName> <> 'red', <FieldName>)

Find Example in attachment.

--Jai

Anonymous
Not applicable
Author

Thanks Jai

How do I hide more than one colour?

jsingh71
Partner - Specialist
Partner - Specialist

then you need to use match or wildmatch function.

--Jai

Anonymous
Not applicable
Author

Thanks Jai

Would you be able to show me an example of the match or wildcard function please?

Thanks very much.

Greg

jsingh71
Partner - Specialist
Partner - Specialist

Find attachment.

--Jai

Anonymous
Not applicable
Author

Very grateful.  Thanks very much Jai.

Greg