Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAWhen I first saw the challenge my immediate thought was iterative macro but then I thought there must be an easier way...Here goes.
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.
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.
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.
Little like Jordans, just without a Batch Macro..
Challenge #144: Secret Santa Assignments done :)
Maybe Ebenezer Scrooge would appreciate the expect zero tool that I used as part of the error checking process.