Weekly Challenge

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #144: Secret Santa Assignments (BAH HUMBUG!)

Highlighted
Alteryx
Alteryx

When I first saw the challenge my immediate thought was iterative macro but then I thought there must be an easier way...Here goes.

 

Spoiler
wc144.png
Highlighted
7 - Meteor

I'm just getting started with Alteryx but the simplest solution I could think of was to sort the records by Scroogieness level, sample the bottom and top 25 separately, reverse the order of the last 25 records (the ones with the highest Scroogieness level) and then join by record position. 

Highlighted
7 - Meteor

This is very similar to my solution. You can also take out the "Record ID" tool as the email addresses can act as unique identifiers if you need them to.  Test.png

Highlighted
Alteryx
Alteryx

Here is a dynamic solution if the number of individuals increases or decreases.

 

Spoiler
1.PNG

Best,

Jordan
Highlighted
Alteryx
Alteryx

Here is my solution...of course it could be build even with less tools, but whenever I built something, I usually try to think as much automation as possible whenever new source data would come in. So in this case I built this solution in the way, that it does not matter how many records would be fed in, it should always work as it takes 50% of the data.

 

Spoiler
grafik.png

 Little like Jordans, just without a Batch Macro..

 

 

 

Highlighted
5 - Atom

here you go!

Highlighted
5 - Atom

Or just 4 🙂

 

Spoiler
4.png

 

 

Highlighted
5 - Atom

My Solution:

Highlighted
Alteryx Certified Partner

Challenge #144: Secret Santa Assignments done 🙂

Spoiler
144 workflow144 workflow
Highlighted
9 - Comet

Maybe Ebenezer Scrooge would appreciate the expect zero tool that I used as part of the error checking process.

Spoiler
WC144 Secret Santa.png