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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

OR + AND in SET

The attached shows Acct with a product or set of products, but I want to see where it has product MQ or MRO AND THER.  Is it two separate sets?  I cannot seem to get the syntax.  The text box "Acct with MQ or MRO AND THER" shows the expected value.

Labels (1)
1 Solution

Accepted Solutions
MayilVahanan
MVP
MVP

HI

Try with this

=count({<Account__Number=P({<Platform_Product_Line={'MRO','MQ'}>}Account__Number)> * <Account__Number=P({<Platform_Product_Line={'THER'}>}Account__Number)>}DISTINCT Account__Number)

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

View solution in original post

2 Replies
MayilVahanan
MVP
MVP

HI

Try with this

=count({<Account__Number=P({<Platform_Product_Line={'MRO','MQ'}>}Account__Number)> * <Account__Number=P({<Platform_Product_Line={'THER'}>}Account__Number)>}DISTINCT Account__Number)

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

Thank you so much!