Happy 8th birthday to the Maveryx Community! Take a walk down memory lane in our birthday blog, and don't miss out on the awesome birthday present that all Maveryx Community members get to take advantage of!
Thinking about the question "What other tweaks can you think of that might make this Challenge relevant for other tasks?"
Analytic app that allows you to select some or all Items. Returns all distinct combinations of any of the selected items, with a count of transactions. Leave as default (everything selected) and calculates all combinations, as per the other solutions Could extend further by: 1) Giving option of only combinations that contain only ALL selected items (e.g. "apples AND milk" instead of "apples AND/OR milk")
2) Joining back to the original data to get the full list of purchases where the selected combination is involved.
Why stop at just a count of combinations? This data like this is an opportunity to experiment with Market Basket tools in Alteryx (MB Affinity, MB Rules, and MB Inspect tools in the Predictive Grouping category). I only wish there was more data or real data to see an actual trend.
After solving this I checked @jdunkerley79's solve and was pleased that we were IDENTICAL. Then I checked @patrick_digan's and thought that his was very creative and elaborative, not to mention that he solved it multiple ways.
Alteryx ACE & Top Community Contributor
Chaos reigns within. Repent, reflect and restart. Order shall return. Please Subscribe to my youTube channel.