Skip to main content
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
knightwriter
Creator III
Creator III

List Box without certain fields

Hi All,

I have a list box with 10 fields and I only want to show 5 of them. I have used the expression to remove one field before by using

=if([Car Colour] <> 'Blue', [Car Colour])

But when I use it the same expression for more than once nothing happens and the list of colours remain the same. Any suggestions?

=if([Car Colour] <> 'Blue', [Car Colour],

if([Car Colour] <> 'Red', [Car Colour],

if([Car Colour] <> 'Yella', [Car Colour],

if([Car Colour] <> 'Pink', [Car Colour],

if([Car Colour] <> 'Grey', [Car Colour],)))))

1 Solution

Accepted Solutions
Anonymous
Not applicable

after the first condition the Car Colour will be displayed if it is not blue,

do you want that None of the colours match Car Colour will be used?

try this:

if (match[Car Colour],'Blue'.'Red','Yella','Pink','Grey')=0, [Car Colour],null())

View solution in original post

3 Replies
Anonymous
Not applicable

after the first condition the Car Colour will be displayed if it is not blue,

do you want that None of the colours match Car Colour will be used?

try this:

if (match[Car Colour],'Blue'.'Red','Yella','Pink','Grey')=0, [Car Colour],null())

maximiliano_vel
Partner - Creator III
Partner - Creator III

Perhaps this is what you looking for?

knightwriter
Creator III
Creator III
Author

Great stuff, thank you.