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.
We are currently experiencing an issue with Email verification at this time and working towards a solution. Should you encounter this issue, please click on the "Send Verification Button" a second time and the request should go through. If the issue still persists for you, please email support@alteryx.com for assistance.

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

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

Submit Feedback

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

MichalM
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
kshashank03
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. 

kshashank03
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

JordanB
Alteryx
Alteryx

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

 

Spoiler
1.PNG

Best,

Jordan
OliverW
Alteryx Alumni (Retired)

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..

 

 

 

mpersson
5 - Atom

here you go!

mpersson
5 - Atom

Or just 4 🙂

 

Spoiler
4.png

 

 

NeilWalsh
5 - Atom

My Solution:

MMehdi
8 - Asteroid

Challenge #144: Secret Santa Assignments done 🙂

Spoiler
144 workflow144 workflow
TylerNa
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