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 #71: Recreate SQL Joins in Alteryx

Highlighted
Alteryx Community Team
Alteryx Community Team

The solution to last week's challenge is HERE!

 

SQL Joins.jpg

 

Today’s challenge is for all of our analysts and data scientists who used SQL in a past (or their current) lifetime! Using the schematic above, can you recreate all the SQL joins with the Alteryx Join Tool and the datasets we have provided?

 

Spoiler
Hint: this should be easier for those of you who have mastered the Union Tool.
Highlighted
11 - Bolide

Who's gonna join the fun this week and submit their workflows?

Highlighted
Alteryx Certified Partner

Thanks for a quick SQL joins recap, though I find Alteryx joins are so much more intuitive!

 

 

Highlighted
14 - Magnetar
14 - Magnetar

My solution! And just for kicks, did it as an app! Pick your join type and it will give you the results... SOOO much more fun than writing boring old SQL queries :)

 

Spoiler
WeeklyChallenge71.JPG
16 - Nebula
16 - Nebula

So - I sacrificed utility for prettiness <shameful grin> and there's a few components in there that aren't needed but gave me a nice symmetry to the whole thing, and gave me a place to hang a label.

Oh, and just to add insult to injury, in making this nice and symmetrical, it also becomes less readable than @alex and @Natasha 's solutions because all the inbound connectors overlap.

 

<grin> yes - pretty silly trade-off, I know (less readable, less efficient, but easier on the eye)

 

Spoiler

2017-05-23_8-07-59.png

I've packaged my workflow along with a simple macro that allows you to check your results with very little effort

 

Have a good week all - 4 more to go!

 

Sean

 

 

Highlighted
16 - Nebula
16 - Nebula

PS - for extra credit @NicoleJohnson - perhaps worth trying this with detour components or Dynamic Replace (thanks to @Joe_Mako for challenging me to learn this one).

 

If you're going to over-achieve, why not push the boat out ALL the way?   :-)

Highlighted
14 - Magnetar
14 - Magnetar

Oh my, lots of browses to show the different joins. Much simpler than SQL!!

 

Spoiler
Spoiler
image.png
Highlighted
14 - Magnetar
14 - Magnetar

@SeanAdams I actually tried Detours first, but kept detouring myself into errors... :) I will definitely give it a go again though! Can't guarantee it will be as pretty as yours, however... what a masterpiece! We'll just call you Vincent van Alteryx ;)

Highlighted
Alteryx Certified Partner

Pretty nice exercise, I found it quite easy but it was a good refresh for the wording :)

Attached my solution :)

Spoiler
workflow_week71.PNG
Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Sorry, but my dog ate my homework.

 

No pretty pictures here today....

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.