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

sharjosh
6 - Meteoroid

My First Alteryx challenge..

 

I am one of the SQL guys who is migrating to Alteryx. 

Its exciting to see how the tool just grows on you.

Here is my solution for the challenge.. 

DawsonM
5 - Atom

Very helpful exercise for someone who is staring on Alteryx

Gets easier with every join :)

Matt_Curtis
9 - Comet

Solution attached! Thought this would be a good first challenge to attempt, thanks for providing these!

 

I arranged my browses in the same orientation, with annotations, to match the original diagram.

Jcdaniels
6 - Meteoroid

Great exercise!

 

I've often wondered, however, how to create more complex SQL joins in Alteryx.

 

For example:

 

From A

inner join B

on (A.production_type = B.production_type

and a.year = 2014)

or 

(A.Homeowner_type = B.Homeowner_type

and a.year =2013)

 

Because of my client's complex business rules, I often times find myself having to create fairly sophisticated join rules.

 

Any thoughts on how to do this in Alteryx?

sharjosh
6 - Meteoroid

Hi Jcdaniels

 

I also encounter such complex joins in my work and yes sometimes the Alteryx workflow does look a bit busy, but it does the job. 

I am pasting my solution for the joins that  you mentioned, hopefully someone in community can provide a more optimised solution.

 

Cheers

Sharad

 

Jcdaniels
6 - Meteoroid

Thank you Sharad! very helpful.

 

So it looks like you just have to get creative with multiple join tools instead of Alteryx having the functionality to be more specific in one join tool.

 

Josiah

sharjosh
6 - Meteoroid

Pretty much Jcdaniels, unless one can go outside 'In-Db' tab  where  whole range of tools are available to handle SQL joins.

I haven't used those much, hoping some expert can help us both here.

 

Cheers

Sharad

 

 

jamielaird
14 - Magnetar

Here's my solution.

 

Spoiler
Challenge71.png
patrick_digan
17 - Castor
17 - Castor
Spoiler
Capture.PNG
David92
7 - Meteor

Hi there, 

 

Thanks for the challenge, please see my results attached.