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

Highlighted
5 - Atom

Very helpful exercise for someone who is staring on Alteryx

Gets easier with every join :)

Highlighted
Alteryx Certified Partner

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.

Highlighted
Alteryx Certified Partner

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?

Highlighted
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

 

Highlighted
Alteryx Certified Partner

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

Highlighted
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

 

 

Highlighted
Alteryx Certified Partner

Here's my solution.

 

Spoiler
Challenge71.png
Highlighted
16 - Nebula
16 - Nebula
Spoiler
Capture.PNG
Highlighted
Alteryx Certified Partner

Hi there, 

 

Thanks for the challenge, please see my results attached.