Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
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.

1 Solution

Accepted Solutions
MayilVahanan

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

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!