Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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 #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
10 - Fireball

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

Spoiler
WC144 Secret Santa.png