In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Finding All Possible Combinations

briankuhlmann
8 - Asteroid

I have a list of Skus and substitute products. The amount of times a sku is listed in the left column is based on how many substitutes exist.

 

sku1.jpg

 

If a sku is listed as a substitute product on the right, the product on the left and all other substitutes on the right are substitutes on it. Im trying to get all possible combinations. Here is an example of what i want the end product to be.

 

sku2.jpg

The example is 5 subs but it could be any number depending on sku. Also the order I have those subs in is random (sub 2, sub 3, etc..), no specific order needed.

4 REPLIES 4
ChrisTX
16 - Nebula
16 - Nebula

Under the Transform palette, try the Cross Tab tool

 

Chris

briankuhlmann
8 - Asteroid

cross tab alone wont solve the issue. Every sub is also a sub of each other. Cross tab will just allow me to create that first row.

cjaneczko
13 - Pulsar

Find attached. This seems to output the desired results. 

 

image.pngimage.png

 

 

briankuhlmann
8 - Asteroid

Thank you!!

Labels
Top Solution Authors