In Alteryx, combining multiple datasets is easy with the Join Tool.
The Join Tool allows you to join two tables with a common field (primary key) and Alteryx automatically returns three sets of records:
- Inner Join (J): the columns from the source table (L) joined with the columns in the table to join (R), matching records based on the common field(s)
- Left unjoined (L): the records of the original table (L) that have not found a match in the table to join (R)
- Right unjoined: (R): the records of the table to be joined (R) that have not found a match in the source table (L)
Here is a Join on Customer ID.
In addition to the Join Tool, Alteryx also has an In-Database Join Tool. This enables blending and analysis against large sets of data without moving the data out of the database, and provides significant performance improvements over traditional analysis methods.
The In-Database Join Tool lets you do inner, left outer, right outer, and full outer joins.
Learn more about Alteryx In-Database tools here.
The Union Tool allows you to combine multiple sets of records based on the field name or position of each column. You can easily change the order of the column headers in each set of records so they match up.
Here, two sets of records — the left un-joined records and the (inner) joined records — are joined together, producing a left outer join.