Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

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)