Excel - Types of Merging of Queries in Power Query Last Updated : 29 Dec, 2021 Comments Improve Suggest changes 1 Likes Like Report In Power Query, we have an option to Combine two tables using “Merge queries”. Merge Queries: Merge with current query with another queryMerge Queries as New: Merge with current query with another query and create New query In this article, we explore different types of merging of queries in Power Query with two tables. We will combine two years of sales data (2020 and 2021) with the key field “Cust_ID”. Implementation: Follow the below steps to implement merging of queries: Step 1: Open Power Query Editor. Step 2: Select your Query “Sales_2020”. Go to Home >> Merge Queries >> Merge Queries as New. We have six type of joins: Left Outer (all from first, matching from second)Right Outer (all from second, matching from first)Full Outer (all rows from both)Inner (Only Matching rows)Left Anti (rows only in first)Right Anti (rows only in second) Step 3: Select Second table; Select key fields “Cust_ID” in both tables; Select Left Outer (all from first, matching from second) and Press “OK”. Step 4: Above step create a new query “Merge 1” as below in your power query. Note: Sales_2021 is not a text value it is a table for each row. Step 5: Click “Sales_2021” drop down icon; Make sure Expand is selected. Press “OK”. Now merged table with all columns. Step 6: Change query name “Left Outer”. Step 7: Press “Close & Load”, It will add a new sheet “Left Outer” with a Merge table. Output: Left Outer [All records from Sales_2020 and matched records from Sales_2021]: Select different types of joins in step 3 and generate respective merge tables Right Outer [All records from Sales_2021 and matched records from Sales_2020]Full Outer [All records from both Sales_2020 and Sales_2021]Inner [Only matched records from both Sales_2020 and Sales_2021]Left Anti [Un-matched records from Sales_2020]Right Anti [Un-matched records from Sales_2021] Create Quiz Comment S sk123online Follow 1 Improve S sk123online Follow 1 Improve Article Tags : Excel Excel-VBA ExcelGuide Explore Excel FundamentalIntroduction to MS Excel5 min readDownload and Install MS Excel 2024/365 Edition4 min readExcel Spreadsheet4 min readWorkbooks in Microsoft Excel4 min readWorksheets in Excel4 min readDelete All Rows Below Certain Row or Active Cell in Excel5 min readRemove Hyperlinks in Excel6 min readHow to Use Fractions in Excel6 min readExcel FormattingData Formatting in Excel5 min readExpand Cells to Fit the Text Automatically in Excel3 min readExcel Date and Time Formats3 min readInsert a Picture in a Cell in MS Excel3 min readHow to Unhide and Show Hidden Columns in Excel: Step by Step Guide9 min readConditional Formatting in Excel8 min readApply Conditional Formatting Based On VLookup in Excel3 min readHow to Compare Two Columns and Delete Duplicates in Excel3 min readHow to Find Duplicate Values in Excel Using VLOOKUP3 min readExcel Formula & FunctionBasic Excel Formulas3 min readUse of Concatenate in Excel5 min readPercentage in Excel8 min readExcel LEFT, RIGHT, MID, LEN, and FIND Functions5 min readExcel IF Function10 min readExcel VLOOKUP Function12 min readDynamic Array Formulas in Excel2 min readCOUNTIF Function in Excel - Step by Step Tutorial7 min readHow To Use MATCH Function in Excel (With Examples)6 min readExcel Data Analysis & VisualizationHow to Sort by the Last Name in Excel?5 min readHow to Sort Data by Color in Excel?3 min readHow to Swap Columns in Excel: 3 Methods Explained8 min readSparklines in Excel8 min readPivot Tables in Excel3 min readHow to Sort a Pivot Table in Excel : A Complete Guide7 min readPivot Table Slicers in Excel5 min readData Visualizations in Power View3 min readChart Visualizations in Excel Power View8 min readTable Visualization in Excel Power View5 min readMultiple Visualizations in Excel Power View4 min readDynamic Excel Dashboards Using Picklists3 min readAdvanced ExcelHow to Use Solver in Excel3 min readPower Query â Source Reference as File Path in Cell2 min readHow to Create Relational Tables in Excel?4 min readHow to Import, Edit, Load and Consolidate Data in Excel Power Query?7 min readConnecting Excel to SQLite4 min readHandling Integers in Advanced Excel2 min readPower Pivot for Excel10 min readExcel Power Pivot - Managing Data Model6 min readTable and Chart Combinations in Excel Power Pivot3 min readExcel Data VisualizationAdvanced Excel - Chart Design4 min readHow to Create a Graph in Excel: A Step-by-Step Guide for Beginners8 min readFormatting Charts in Excel3 min readCreate a Waterfall Chart in Excel5 min readScatter and Bubble Chart Visualization in Excel5 min readCreate a Pie Chart in Excel5 min readHow To Create A Pictograph In Excel?3 min readHow to make a 3 Axis Graph using Excel?7 min readHow To Create a Tornado Chart In Excel?2 min readHow to Create Flowchart in Excel: Step-by-Step Guide6 min readExcel VBA & MacrosHow to Insert and Run VBA Code in Excel?2 min readVariables and Data Types in VBA Excel9 min readHow to Use the VBA Editor in Excel: Quick Guide 20247 min readVBA Strings in Excel8 min readVBA Find Function in Excel5 min readActiveX Control in Excel VBA3 min readMultidimensional Arrays in Excel VBA2 min readVBA Error Handling10 min readHow to Remove Duplicates From Array Using VBA in Excel?2 min readMacros In Excel With Examples10 min readAssigning Excel Macro to Objects3 min readHow to Enable Macros in Excel (2025): Step-by-Step Guide9 min readPower BI & Advance Features in ExcelPower BI - Tools and Functionalities5 min readPower BI - Data Sources and its type4 min readPower BI - How to Create a Report using Excel Data in Workspace4 min readData Analysis Expressions (DAX)6 min readPower BI - How to upload Excel Files to Dashboard?3 min read Like