Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

let Qlikview show you all results where a selected combination of items is selected?

Is there an easy way to let Qlikview show you all results where a selected combination of items is selected?

for example there are 2 tables: salesorder and salesorderline (see below) and I want to see in which salesorder the combination of item A and B is sold. In the example below this should result in salesorders 1 and 3 (and not also 4 and 5)

SalesOrderSalesOrderLineItem
11A
12B
13C
21A
22D
23E
31A
32B
41X
42Y
43Z
51B
52X


Thanks for helping me!

2 Replies
Not applicable
Author

I think you should be able to use Set Analysis and in particular the P() function.

Try:

Sum({<Item=P({<Item={'A'}>*<Item={'B'}>}Item)>} Sales)


I'm not sure what your expressions are, but that worked on some sample data I had.

johnw
Champion III
Champion III

If you're looking for something more dynamic, look for "and-mode in list boxes" in the help text. See attached example.