This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!
Submit FeedbackGreat 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?
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
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
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