Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

How to append/join fields from one table to another table?

ruidijnj
5 - Atom

Hi,

 

I have two tables (Table A and Table B) and could someone show me how I can append/join Purchase Date from Table B to Table A? The connection key between the two tables are Transaction ID and Order ID. One thing to note is Table B doesn't have all the same lines from Table A, so I can't just simply copy the Purchase Date column from Table B and paste to Table A. 

 

Table A

Transaction IDUser NameCountryAmount
1467A.A.CA$10
2903B.B.US$18
3551C.C.UK$30
4680D.D.BR$25
1007E.E.CN$51
2365F.F.JP$12

 

Table B

Order IDPurchase DateShip Date
14671/1/20241/2/2024
46801/5/20241/7/2024
23651/6/20241/6/2024

 

Thank you!

1 REPLY 1
Fizzledrizzle
7 - Meteor

Howdy! 

I believe what you are looking for is the Join tool where you could join Table A and Table B together. 

 

 Join Tool (alteryx.com)

Join ExampleJoin Example

 

 

if you need everything on Table A and any information from table B if it exists, then you can union the Left and Join together (in the above example)

 

 Union Tool (alteryx.com)

 

Join with UnionJoin with Union

Labels