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. You can download source data files for the course from the resources section of your Lessons page.
Appending tables manually.xlsx167.9 KB Appending tables manually - Completed.xlsx
343 KB
Quick reference
Appending Tables Manually
An overview of manually appending multiple tables in a 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
- Excel 2016: Go to the Data tab and select “Show Queries” or “Queries & Connections”
- Excel 2010/2013: Go to the Power Query tab and select “Show Pane”
- Power BI: Click Edit Queries
- 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.