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: 
jyothish8807
Master II
Master II

if condition

Order No
StatusProduct name
12Open
13close
14In process
15In process
16close

Hi,

I have three  columns:

Order No , Status , Product name.

I want to display all those product name whose status is "Open" and "In process" only in a straight chart.

Regards

Best Regards,
KC
1 Solution

Accepted Solutions
er_mohit
Master II
Master II

try this

aggr(only({<Status*={'Open','In Process'}>}Productname),[Order No])

or simply this

only({<Status*={'Open','In Process'}>}Productname)

View solution in original post

3 Replies
er_mohit
Master II
Master II

try this

aggr(only({<Status*={'Open','In Process'}>}Productname),[Order No])

or simply this

only({<Status*={'Open','In Process'}>}Productname)

MayilVahanan

Hi

Try like this

= Only( {<Status = {'Open', 'In Process'}>} ProductName)

or

= If( wildmatch(status, 'Open', 'in process'), ProductName)

Please refer the set analysis

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable

"Open" and "In process"

Using Set Analysis:-

1. aggr(only({<Status*={'Open','In Process'}>}Productname),[Order No])

2. only({<Status*={'Open','In Process'}>}Productname)

Without Set Analysis

If(Status='Open' or Status='In process',Productname)

If(Status='Open' or Status='In process',[Order No])