Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Checking for common products across purchase orders

ChrisPR
6 - Meteoroid

Hi all

 

I have some data with a list of purchase orders in one column, and the product descriptions in another. 

 

I am trying to work out how to show a minimum list of products that are common across all purchase orders. This seems like a really easy concept to get my head around, but I'm struggling to think of a way to do it in Alteryx. I've included a sample of dummy data below for illustration purposes. So, what I am trying to get to is a list that shows that hats and shirts are common across all purchase orders.

 

 

Purchase orderProduct
12345Hat
12345Scarf
12345Shirt
12346Hat
12346Coat
12346Shirt
12347Watch
12347Hat
12347Shirt

 

Any help anyone can provide would be great.

 

Thanks!

 

5 REPLIES 5
patrick_digan
17 - Castor
17 - Castor

@ChrisPR I would use a couple summarize tools. I've attached an example. Let me know what you think!

MarqueeCrew
20 - Arcturus
20 - Arcturus

@ChrisPR,

 

My esteemed colleague @patrick_digan provided you with a solution that gets you to the answer of which product(s) exist on all purchase orders. I am going to take a liberty and answer the question in terms of the common products.

 

If you look at which products are on 95% or 99.7% of the purchase orders, we can look for the average count that exists for products on purchase orders and add either 2 or 3 standard deviations from that average.  An alternative is to use the Tile tool and select the SMART TILE option.  It will provide you with a tile # and sequence within that tile for which products are the most prevalent. 

 

Capture.PNG

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
alex
11 - Bolide

Following up on the methods provided by @patrick_digan and @MarqueeCrew, I'm going with the Market Basket tool and an option to view common products that are less than 100%.  I had to add a couple PO's to the sample data to show the alternative comparison.  Your ultimate solution depends on how you need to see the data and how you are using it in your business.  There are other Market Basket tools available in the Predictive Grouping tool set that could help you as well.  Excuse the spelling errors in the diagram.

mb3.JPGmb4.JPG

ChrisPR
6 - Meteoroid

Guys

 

Thank you all for replying so quickly to my question. These all worked nicely

 

Cheers

 

Chris

Msaber123
6 - Meteoroid

I'd like to thank all of you about this discussion and informative session. also, I have the same case with bigger amount of transactions and Products. and always receives an error message for the RAM while I already have 32 GB. do you think is there anyway to pass this issue?

Labels