Skip to main content

Power Query Basics Guide Ask Us

Guide Sections

General Overview

General Overview

Welcome to this Power Query Basics help guide*. This guide will provide information on:

  • how to ingest data in Power Query;
  • how to filter and combine your files;
  • how to clean and transform your data;
  • how to merge and link your data tables
  • how to gain insights from your data;
  • how to automate and update your data.

In this research guide, we’ll use a series of fictional environmental behaviour surveys collected over a dozen Canadian cities to learn how to clean, combine, and analyze data efficiently using Power Query in Excel. Just a quick disclaimer: the data tables we will be using in this series are fictional. They were created using an R script that randomly generates numbers and assumptions and in their aggregate, don’t represent anything based in reality. They are simply used for explanatory purposes.

If you would prefer to consume much of the material offered in this guide via video, you can click here to view my Introduction to Power Query video series.

Basic components of a Power Query report

Before we get started, what is Power Query? Power Query is mainly used to import data from multiple sources into Excel or Power BI and then clean and transform them systematically. It can be a real time saver especially if you’re dealing with larger datasets. In fact, Power Query is not limited to the number of rows and columns that constrains Excel so it is an ideal candidate when dealing with large datasets. 

Let’s take a look at the Power Query environment so that we all have a common language and understanding of what is what. This is a view of the Power Query editor. In the centre of the screen (in yellow highlight), we have the data that we have ingested.

PowerQuery Editor View

At the top, we have the tabs (File, Home, Transform, Add Column and View) with their associated ribbons. On the left-hand side we have our Queries. Right now we only have 1 query called Table1 because that is the source name of our data table.

Just above the data, we have a formula bar with some weird looking code. This is the M language which stands for Data Mashup Language. We won’t get too involved in M language programming in this introductory session but this is what makes Power Query verifiable and replicable.

On the right hand side, we have the Query setting pane which has an editable Query name field and the transformation steps that we did to our data. Right now we only have two steps. If we click on them, the corresponding M language code for that step will appear in the formula bar.  

*Compatibility

It is important to know that Power Query is not a static program and does come in many different flavours: Power Query for PCs has various versions and while most of the functionality is retained from one version to the next, each iteration creates some changes to the platform. Please be aware of the program and version of Power Query you are using. For your reference, we will be using Power Query for Microsoft 365 (PC version) as our help guide version. 

Subject Specialties:
Data analysis, Data visualization, Support with MS Excel.

Last modified on September 24, 2026 15:57