Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Join or Union ?

AhanaR
7 - Meteor

Hi Team,

 

Could someone help me here?

 

I have two datasets and want to get a combined output from both. In SQL i can write the join query by selecting the required cols from both tables and then joining it on a key. 

 

How can i apply the same join in Alteryx? i tried to use it , Although I'm able to join the two datasets, my output displays data only from the left dataset.

 

DataSet 1:

 

Customer NameCUSTOMER NUMBERMaterialRevenueQuantity
ABC46AA20007
XYZ23AA+1000008
BCL4BB8000000130

 

DataSet 2:

 

Region

MaterialBilling Qty Invoice Value (LOCAL)  ASP (Local)  
CambodiaAA263                   106,836.39         406.22
CambodiaAA+4                     13,868.51      3,467.13
CambodiaBB73                       6,570.00           90.00

 

Desired Output :

Customer NameCUSTOMER NUMBERMaterialRevenueQuantity ASP (Local)  Region
ABC46AA20007         406.22Cambodia
XYZ23AA+1000008      3,467.13Cambodia
BCL4BB8000000130           90.00Cambodia
3 REPLIES 3
binuacs
20 - Arcturus

@AhanaR Join is an option but you should have a common key in the two datasets to join. I used the material field as the key

 

binuacs_0-1677448936149.png

 

ArtApa
Alteryx
Alteryx

Hi @AhanaR - You may benefit from our interactive lessons, specifically: https://community.alteryx.com/t5/Interactive-Lessons/VLookUps-with-Designer/ta-p/80201

 

LeTHo300
5 - Atom

Hi, AhanaR.

 

Are you able to follow this workflow? And was this helpful? 

 

JOIN using J output anchor.png

 

Labels