It's beginning to look a lot like...Advent of Code! Get in the holiday spirit by learning how you can participate in this friendly competition and earn a seasonal badge.

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.

SUBMIT YOUR IDEA

Challenge #88: Counting Combinations

olivier_newman
8 - Asteroid

88

MDestra
8 - Asteroid

Challenge #88:

mjdrims
5 - Atom

Several years late but here is my solution.

kstahly
5 - Atom

🤔

ArisaOkada
8 - Asteroid

My fifteenth workflow!

AMikha1
5 - Atom

Solved.

jaroslav-tomcala
8 - 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
7 - 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
8 - Asteroid
Spoiler
Screenshot 2023-10-01 153927.png
dinazulaikha18
8 - Asteroid

Use transpose, sort and summarize tools.