Introduction
In my previous article:
I have shown you how to import a table from a SQL server into Power BI. Today in this article I am going to show you how to import two tables from a SQL Server and join them using Power BI and create a new table.
Also, you will learn how to create a report from this table. So, let’s start with importing a table from SQL Server into Power BI Desktop
I already shared the path of downloading the dummy database in my previous article Import Data From SQL Server Into Power BI. You can download the “AdventureWorks2014.bak” from that path.
Step 1
Your first step should be connecting your database with power bi desktop (as per previous article). If you have already connected with the database then go to ‘Recent sources’ and click on your SQL source.

Your connection will be shown like the below image.

Step 2
Now double click on your database, you will be able to see the tables. Select the tables ‘Person.AddressType’ and ‘Person.BusinessEntityAddress’.This time we will use ‘Transform Data’ instead of ‘Load’.

After clicking on ‘Transform Data’, a ‘Connection settings’ pop-up will be shown like below image. Check ‘Import’ and then click ‘Ok’.

Your connection is done and the ‘Power Query Editor’ window will be opened.

Step 3
Now select the first table and click on ‘Combine’ at the top of left side of the tool. Here you get two options, ‘Merge Queries’ and ‘Append Queries’.











Join the conversation! Your thoughts help the community grow.