Module 02 · Transform data (Power Query)

Merge & append queries

Join tables side-by-side, or stack them on top of each other.

Step by step8 minLesson 8 of 21 Free

Power BI & Tableau practice fileSales, Product and Region tables, plus July & August data for the append/union exercise. Used in every module of the Power BI and Tableau courses.Excel · ~1,200 rows · free Download

There are two ways to combine tables. Append stacks them on top of each other, so you get more rows. Merge joins them side by side on a key column, so you get more columns (like VLOOKUP in Excel).

Append diagram: Sales_Jul with 64 rows and Sales_Aug with 66 rows stacked into 130 rows. Merge diagram: Sales and Product matched on ProductID so Sales gains a Category column. Zoom
Append = stack downwards. Merge = join sideways on a key column.

Click a number on the picture or in this list to highlight that area.

Step by step

  1. Step 1: Append: first load the Sales_Jul and Sales_Aug sheets (Home → New Source → Excel workbook), then Home → Append Queries → Append Queries as New to stack tables with the same columns.

  2. Step 2: Merge: also load the Product sheet, select the Sales query, then Home → Merge Queries to join two tables on a key column (like a VLOOKUP).

  3. Step 3: Pick the matching key in both tables (for example ProductID in Sales and Product) and choose a join kind (Left Outer is most common).

  4. Step 4: Click the two-arrow icon in the new column’s header (Expand), then tick the fields you need (for example Category).

    Tip: Uncheck Use original column name as prefix for cleaner column names.