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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

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!