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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
paddychanhk
Contributor
Contributor

Get the order count for Product and Basket in a table

Hi Gurus,

I have a table that contains orders and items, and I want to create basket analysis tables using the attached Excel.

I tried this expression to get the Product and MBProduct count, but it only returns values if I select both Product and MBProduct:

Aggr(Count({1}DISTINCT
If(not Match(Product, MBProduct), Id)), Product)

I would like to have the result with the list of 5 columns and a list of all the product combinations with selection anything.

ProductMBProductTogetherOnly ProductOnly MBProduct
ButterMilk274
ButterCookies475
ButterFruit377

 

Thanks.

 

0 Replies