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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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
Labels (1)
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
MVP
MVP

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])