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: 
surajap123
Creator II
Creator II

Expr to show specific values in list box

Hi All,

I want to show only specific values in my list box. I wrote the below expression but it shows nothing in the list box

=if(Type='Gross' and 'Net',Type)

I infact, want to show only 2 values ie Gross and Net in the Type list box(ie field Type).

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

If(Type='Gross' or Type='Net,Type)

View solution in original post

3 Replies
antoniotiman
Master III
Master III

If(Type='Gross' or Type='Net,Type)

Anonymous
Not applicable

Try this:

=If(Type='Gross' or Type='Net')

anbu1984
Master III
Master III

=if(Match(Type,'Gross','Net'),Type)