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!
alteryx Community

# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
###### IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

## Challenge #88: Counting Combinations

7 - Meteor

Summarize tool did the trick

ACE Emeritus

Taking a look at everyone elses it looks like a took an extra step for no reason, there was logic in my mind to doing so at the time, but there no longer is!

Spoiler

Ben

5 - Atom

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.

12 - Quasar

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.

Spoiler

9 - Comet

My solution

Spoiler
I recently enjoy using Unique tool, but seems there was no need in it this time.
8 - Asteroid

My solution!!!

Spoiler
I didn't use a Summarize to concatenate, but I sorted them and use the unique tool

20 - Arcturus

Hi @ChristineB,

Great interactive training kudos to you.

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.

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
5 - Atom

Second Challenge :)  Building the habit

Have a great week everyone

8 - Asteroid
Spoiler
Inactive User
Not applicable

Second challenge, second week! It ended up being easier than I initially thought. I also made a second solution that uses the unique tool. Had never used that before!