Home / Power BI / How to Merge Query with Power BI

How to Merge Query with Power BI

In this blog, we will be merging two different queries using Power BI. This feature is very useful if you want to combine one or more columns with another query using Power BI.

Product Table

Table

Description automatically generated

Manufacturer Table

Table

Description automatically generated

In the above screenshot, we have a Product table with product details in it and a Manufacturer table with manufacturer’s details in it. 

We must bring the Manufacturer name which is in the Manufacturer table to the Product table using merge queries as new.

Now, we’ll combine the above 2 tables’ data. Below are the steps to merge them:

Step 01:

Select Home > Transform Data.

Graphical user interface, application, Word

Description automatically generated

Step 02:

Then go to Home Ribbon. Click on Append Queries Drop-down. You’ll get two options.

  • Merge Queries
  • Merge Queries as New

Step 03:

When we will click Merge Queries as New a new window will appear as shown below. 

Graphical user interface, table

Description automatically generated

Step 04:

After the above window appears. Select the table and the column based on which you must perform the merge query also select the ‘Join Kind’ i.e., which kind of join do you want to perform? Here we are performing ‘Left Outer Join’. After selecting both tables and columns and the Join Kind click OK to merge both tables (Product & Manufacturer).

Graphical user interface, application

Description automatically generated

Step 05:

After clicking OK your tables will be merged as a New Table ‘Merge1’. There you’ll get a new column ‘Manufacturer’ from the manufacturer table as we need to bring Manufacture Name to the Product table. 

Graphical user interface

Description automatically generated with low confidence

Step 06:

We’ll click on the drop-down button on the new column and select ‘Manufacturer’ and click ‘OK’ to get the name of the Manufacturer. You can also rename the table (Merge1 to Merge). 

Graphical user interface, application, table

Description automatically generated

Step 07:

After clicking ‘OK’ the column will be expanded, and you’ll get the name of the manufacturers. We can also rename the column name (Manufacturer to Manufacturer Name). And click the Close and Apply button present in the ‘Home’ tab Ribbon to save all the changes.

Graphical user interface

Description automatically generated with low confidence

Step 08:

In the below screenshot, you will be able to see the new merged table as Merge.

Graphical user interface, application, Word

Description automatically generated

So, in this blog, we have learned how to merge queries.

Thanks

Author By

Kamal Sharma

Kamal brings over 20 years of experience in data analytics and business intelligence. He has led the design and implementation of analytics solutions across operations, financial reporting, and performance improvement initiatives. With a background in business statistics and Six Sigma, his work focuses on applying data in a structured and practical way to solve real business challenges.

Author By

Kamal Sharma

Kamal Sharma

Kamal brings over 20 years of experience in data analytics and business intelligence. He has led the design and implementation of analytics solutions across operations, financial reporting, and performance improvement initiatives. With a background in business statistics and Six Sigma, his work focuses on applying data in a structured and practical way to solve real business challenges.

Decision-Ready Analytics

Turn your OEE dashboard into a decision system.

Book a 30-minute working session with our manufacturing analytics team.
Translate »