Merging and Appending
Swipe to show menu
Data rarely lives in a single file. In this chapter, you'll learn two essential Power Query techniques for combining data: merging (adding columns from one table to another, like a VLOOKUP) and appending (stacking rows from multiple tables with the same structure).
You'll merge a category lookup table into the Products table to add a broader grouping level, then append three new products from a separate file into your existing Products table. You'll also load new dataset files (Returns, Targets, Category Lookup, and New Products) that will be used throughout the rest of the course.
Task
Download the four additional Summit Gear Co. CSV files needed for the rest of the course.
Task Steps
- Download the following files from the course materials:
summit-gear-returns.csvsummit-gear-monthly-targets.csvsummit-gear-category-lookup.csvsummit-gear-new-products.csv
- Save all four files in the same course folder where your original three CSV files are stored.
Expected Outcome
- Four new CSV files saved alongside the original Sales, Products, and Customers files
- Your course folder now contains seven CSV files total
1. You want to add a "Region" column from a Regions lookup table to your Sales table by matching on State. Which Power Query operation should you use?
2. After merging two tables, you see a column filled with the word "Table" in every row. What do you need to do next?
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat