PowerBI - Creating custom table from three different source tables

I am trying to build a custom table from three different source tables.

There are three column names, common in these source tables. I want to build a custom table which has all of those records from these tables.

The operation involved here is appending records on the basis of column names in all the source tables.

Here is a copy of what I require

enter image description here

How to do this PowerBI?

Upvotes: 0

Views: 5637

Answers (1)

Marc Pincince
Marc Pincince

Reputation: 5202

I'll assume you have all three source tables loaded into your Power BI Desktop. Click the "Edit Queries" button in the ribbon...

enter image description here...to open the Power BI Query Editor (PowerQuery).

Then click the "Home" tab, then the drop-down arrow next to "Append Queries", and click "Append Queries as New":

enter image description here

Select the "Three or more tables" radio button, and make sure all all three tables are listed in the "Tables to Append" list, so the dialog box looks like this:

enter image description here...and click OK.

It'll create a new appended table, named Append1, that looks like this:

enter image description here

Then click the "Home" tab, and "Close & Apply" to load the new "Append1" table into Power BI.

(If you don't want the "Age" column included, you can remove it before you "Close & Apply." To do that, just right-click the "Age" column and select "Remove.")

Upvotes: 2

Related Questions