Locked lesson.
About this lesson
Appending tables is the process of stacking them vertically to create long tables that can be used to feed business intelligence solutions and PivotTables.
Exercise files
Download this lesson’s related exercise files.
Appending Tables - Begin.xlsx35.2 KB Appending Tables - Complete.xlsx
52.6 KB
Quick reference
Appending Tables
An overview of manually appending multiple tables using Power Query.
When to use
When you want to stack multiple tables one after the other into one single table, instead of copying and pasting the data to compile it.
Instructions
Create staging queries for the source data tables
For each data source
- Create a new query that points to the data source
- Perform whatever transformations are required to clean up the data
- Finalize the query by choosing Home --> Close & Load To… --> Only Create Connection
Append the staging queries
- Open the Queries pane in Excel
- Right-click one of the tables you wish to append --> Append
- Choose the other table(s) you wish to append and click OK
- Rename the newly created query
- Define the data types for the columns
- Finalize the query by loading it to the desired destination
Appending more data to an existing query
- Open the Queries pane in Excel
- Select the original Append query (whatever it is now called) --> Edit
- Go to the Home tab --> Append
- Choose the additional table(s) to append
- Click Close & Load
Hints & tips
- To open the queries pane, go to the Data tab and select “Queries & Connections”
- Tables may be appended to itself if needed
- There is an Advanced option when doing the initial Append which will allow you to choose multiple tables to append
Lesson notes are only available for subscribers.