fbpx

Learn How to Split Queries In Power Query

As explained in the above example, we have generated a conditional column for the given query. If we want to split this query into two, Power Query will help us in doing so. To get more in-depth knowledge about Power Query, then check our latest Power Query Course that provides high-class videos with life time access.

How to Split Queries In Power Query

The user will be able to mark a set of consequent steps, starting at the first one, and split the query so the marked steps become a new query and the rest become a query referencing the first one as a source. This is useful if the first steps of a query are actually required for a few other queries.

MICROSOFT POWER QUERY FOR BEGINNERS
• Course Certificate • Lifetime Access & Free Updates • Lifetime Support • Career Focused

 

Step 1: Click on Extract Previous option

To split the queries, right-click on the Applied Step that you want to split from the query as shown below.

EXTRACT PREVIOUS TO SPLIT QUERIES

Step 2: Specify New Query Name

Specify the new Query name in the ‘New Query name’ option of the Extract Steps window as shown below.

 EXTRACTING PREVIOUS INTO A NEW QUERY

MICROSOFT POWER QUERY TRAINING
• 100+ Video Tutorials • 15 Case Studies • 2 eBooks • 10 Presentation Decks • 2 Webinar • 24*7 Dedicated Support

 

Step 3: RENAME THE QUERIES

When you click on OK, the Power query will split the queries into two. You can rename queries if you want. The picture below shows the final data.

After Splitting Queries

In this way, the Added Conditional Column step gets separated from the other steps into a new query.

After Splitting Queries

You can acquire knowledge more : 

  • Study How to Navigate Query Editor Using Power Query
  • Read How to Disable Relationship Detection in Excel
  • Steps to Editing A Query in Excel 
  • Learn How to Create Grouped Serial Numbers In Power Query