Is it possible to compose a search on two entries in the same sublist? I want to compose a search of all sales orders where the customer bought both a widget and an accessory for it.
b
battk
04/22/2019, 7:21 PM
You can use summary filters and columns for this
battk
04/22/2019, 7:22 PM
For the normal filters you add a filter where the item is anyof your selected items
battk
04/22/2019, 7:23 PM
And in the summary filter, add one where the count of items is greater than one
battk
04/22/2019, 7:23 PM
For your columns you want to group by internalid
w
Wolf
04/22/2019, 7:25 PM
Hmmm, what if they bought two widgets (on two separate lines) but no accessory?
Wolf
04/22/2019, 7:32 PM
Aha: two summary criteria:
SUM CASE WHEN {item}=A THEN 1 ELSE 0 END >= 1
SUM CASE WHEN {item}=B THEN 1 ELSE 0 END >= 1