Power Query can let us perform a lot of complex steps with our data.

However wouldn’t it be fun if you could understand better what is happening under the hood? Come join me as we take a look into the Advanced Editor!

We will use the Index Column Post as our starting point.  Please download the Excel Workbook below.

DOWNLOAD EXCEL WORKBOOK

 

Let’s go through the steps in detail:

STEP 1: For us to view the existing Power Query steps:

Go to Data > Get & Transform > Show Queries (Excel 2016) or

Go to Data > Get & Transform > Show Pane (Excel 2013 & 2010)

Now double click on the Table1 query.

 

STEP 2: This will open up the Power Query Editor.

 

You can see the Applied Steps we have with the Index Column workbook you downloaded above.  The steps are broken down as follows:

  • SOURCE: Get the Source Table
  • CHANGED TYPE: Changed the type of columns in the Table
  • ADDED INDEX: Added an Index Column

 

STEP 3: Now the fun part! Go to Home > Advanced Editor

 

You will now see our exact 3 steps, in detailed form!

  • Get the Table1 as the Source
  • Change the Column Type of Sales Month to text, and Sales to number
  • Add a new index column called Index that starts at 1 and increments by 1

 

You are now able to see what’s happening under the hood of your Power Query transformations!

Stay tuned as you join me in editing through the Power Query Advanced Editor next time!

HELPFUL RESOURCE:

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Filter Records Using Power Query or Get & Tra... Power Query or Get & Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to filter records.And the best part is, we will use an OR condition! It's not that straightforward to do in Excel, bu...
Replace Values Using Power Query  Power Query lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to replace values easily.DOWNLOAD EXCEL WORKBOOK Let’s go through the steps in detail:STEP 1: Select your data and turn it into a...
Replicating Excel’s LEFT Function with M in ... Power Query lets you perform a series of steps to transform your Excel data. There are times when we want to do things that are not built in the user interface. This is possible with Power Query's programming language, which is M.Unfortunately not all of Excel's formulas can ...
Import Web Data Using Power Query  Power Query lets you clean and transform your raw & messed up data into a format where you can do further Excel analysis with ease.Firstly, we would need data to play with Power Query, right?  The good thing with Power Query is that there is a multitude of ways ...