The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Weekly Challenges

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.

SUBMIT YOUR IDEA

Challenge #88: Counting Combinations

olivier_newman
Asteroid

88

MDestra
Asteroid

Challenge #88:

mjdrims
Atom

Several years late but here is my solution.

kstahly
Atom

🤔

ArisaOkada
Asteroid

My fifteenth workflow!

AMikha1
Atom

Solved.

jaroslav-tomcala
Asteroid

Hi, I am not super proud of my solution, but here it is. I peeked into the official solution after this and couldn't believe how short it could have been.

 

Spoiler
88.jpg
roopmathi
Meteor

Here is my approach:

Step 1: Apply a Transpose tool, choosing Data column( Item_Number_1 to Item_Number_8). Set a unique identifier as the Key Field (e.g., Transaction Number).
Step 2:Implement a Filter tool to remove any null values is the resulting rows
Step 3: Use a Sort tool to arrange the items names in the Value column Alphabetically A- Z
Step 4:Add a Summarize tool, grouping by the transaction number and concatenating the Value column. This makes sure there is 1 row per transaction_id and all the items purchased in the transaction are huddled together
Step 5: Use another summarize tool to count the number of unique combinations of same items (it's easier to compare because these are strings)

Spoiler
Challenge#88 solved by RG.png

 

SachinG
Asteroid
Spoiler
Screenshot 2023-10-01 153927.png
dinazulaikha18
Asteroid

Use transpose, sort and summarize tools.