
Instructor: Pushkar Bhamare (LinkedIn)
Power Query is a data connection and transformation tool that is built into Microsoft Excel and other Microsoft products such as Power BI and Microsoft Access. It allows you to import, transform, and clean data from a variety of sources, including files, databases, web pages, and other data sources.
With Power Query, you can easily reshape and combine data, apply filters and calculations, merge data from different sources, and create custom data transformations. It is particularly useful when dealing with large and complex data sets, as it enables you to automate the data cleaning and transformation process, saving time and effort.
Power Query also includes a user-friendly interface that allows you to preview and edit the data transformations in real-time, making it easy to see how your data will look after the transformations have been applied.
In this data digest episode, I will walk you through the following highlighted below:
Let’s get started…
Power Query provides various data source options that you can use to connect to and import data from different types of data sources. Some of the common data source options available in Power Query include:



Note: To access these data source options, you can go to the "Get Data" option on the Home tab in the Power Query Editor. From there, you can choose the type of data source you want to connect to and follow the steps to import data into Power Query.
To load data from a folder in Power Query, follow these steps:

















Note: Rename the combined table in power query to be “data table” and load the “price table” from excel into the power query editor in a bid to get the unit price for each items using the merge query option.







This is basically creating a new column by using conditional statement to fill the column relative to an existing column.

Note: The above “if statement” is categorizing sales with sales amount greater than 50,000 to be a “good sales” and otherwise “bad sales”
It is important to note that you can also manipulate data types with this feature in a bid to make your data more friendly for analysis. This includes converting or breaking down date features to time, quarter, year, or even weeks.

This is basically like a summary function in power query, it is similar to what happen when a pivot table is created in excel. This feature has the “basic” which is used for grouping by a single column and “advanced” which is used for grouping by multiple columns
Select the column you want to group by and go to the Transform tab, then click “group by”, which will the pop out the Group by navigator. I will select basic and fill in the operation to be performed with respect to the column to perform it.




This is a data for sales by month with respect to regions as shown below, the data will then be moved into power query for further analysis.




Note: You can further apply the group by function to analyse the data to get the sales by month or sales by region or even advanced group using multiple columns
It is also important to understand that unpivoting columns transforms data from row to columns, while pivoting column transform data from column to rows
In Power Query, "append queries" refers to the process of combining data from two or more tables or queries by appending the rows of one table or query to another. The resulting table will have all the columns from both tables and all the rows from both tables.

Note: Appending queries can be useful when you have multiple data sources or multiple tables with similar structures that you want to combine into a single table. For example, you might have sales data from multiple regions or multiple months that you want to combine into a single table for analysis.
Power Query is a powerful data transformation tool that is available in Microsoft Excel, Power BI, and other Microsoft applications. It provides several built-in tools and functions that you can use to transform and automate reporting of multiple datasets. Transformation in Power Query is the process of cleaning, shaping, and manipulating data to prepare it for analysis. It is also a crucial step in data preparation because it ensures that data is in a consistent format and free of errors, missing values, or duplicates. Hence, the need of understanding this tool cannot be undermined or overstated for data analyst or analytics engineers.
If you want to explore more on building your Microsoft Excel skill, visit our learning path HERE
Also, if you want to get started with data analytics and looking to improving your skills, you can check out our Learning Track
Empowering individuals and businesses with the tools to harness data, drive innovation, and achieve excellence in a digital world.
2026Resagratia (a brand of Resa Data Solutions Ltd). All Rights Reserved.