Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAA good challenge for practicing random functionality in Alteryx
Probably overdid it to ensure randomness but did the following steps:
1. Count entrants and bucket them into two categories (top N and non Top N) to ensure if 6 people, they'd get randomly one of top 6 teams, etc. If 5 people, then top 5 teams and remaining teams randomly assigned.
2. Random ID then sort to ensure random order each run then did floor calc to ensure same number of teams per person then grouped them together
Here's my solution. This is quite a difficult challenge. However, I was able to make a workflow that is dynamic. Nothing is hard coded; it will assign the top ranked teams (based on how many entrants there are) then randomly assign the non-top ranked teams. I remember the main technique (i.e., random number generator) from a previous problem I encountered. I also included a message that returns an error if the number of entrants is greater than 32 (decided to use the Message tool instead of the Test tool).
My take on a solution
Here's my solution, fun challenge!