top of page

Power Query: In Excel Guide

  • Writer: Fakhriddinbek
    Fakhriddinbek
  • Aug 19
  • 4 min read

Updated: Sep 28

In today’s data-driven world, working efficiently with large and messy datasets is a must. Whether you're in finance, operations, or analytics, Microsoft Excel remains a go-to tool. But if you're still manually cleaning and reshaping data, you're missing out on one of Excel’s most powerful features: Power Query tutorial.


Power Query is a data transformation and automation tool built into Excel and Power BI. It allows users to import, clean, and reshape data from various sources—without writing code. This guide walks you through how to install or launch Power Query in different versions of Excel and introduces its interface and capabilities.


Installing or Launching Power Query


Excel interface with open "Get Data" menu on a blank spreadsheet. Menu options include sources like CSV and XML. Green "Sheet1" tab visible.
The image displays an Excel spreadsheet with the "Get Data" dropdown menu open, showing various options for importing data from different sources such as workbooks, databases, and online services. A visual guide to data integration methods is highlighted.

Excel 2016 and Later (Including Microsoft 365)

Power Query is built-in and ready to use:

  • Go to the Data tab

  • Click Get & Transform Data

  • Choose Get Data to start importing from various sources

No installation is required—just launch and use.


Excel 2010 and Excel 2013

Power Query is available as a free add-in:

  1. Download the Power Query add-in from Microsoft’s official site

  2. Install it by running the setup file

  3. Open Excel and go to the Power Query tab (added after installation)

Note: Some advanced features may be limited compared to newer versions.


Launching Power Query: Step-by-Step

Once Power Query is available in your version of Excel, here’s how to start using it:


Spreadsheet showing GDP forecasts by country and year. A menu highlights "Launch Power Query Editor." The setting is a data analysis tool.
Excel spreadsheet showcasing GDP forecasts by country with the Power Query Editor option highlighted, indicating tools for data analysis and modification.

Step 1: Open Excel and Navigate to Power Query

  • In Excel 2016+, go to Data > Get Data

  • In Excel 2010/2013, use the Power Query tab


Power BI interface showing data sources under "New Source" in red box, with options like Excel, PDF, and SharePoint. "Home" tab highlighted.
Power Query Editor interface showing the "New Source" menu with options to import data from various file types, databases, and online services, facilitating data transformation and analysis.

Step 2: You can Choose Your Data Source in Power Query Editor too

You can import data from:

  • Excel files

  • CSV or text files

  • SQL databases

  • Web pages

  • SharePoint

  • APIs and more


Excel screenshot showing a data navigator with GDP forecasts for countries. Highlighted table with columns for forecasts and estimates for 2025-2024.
Excel data import screen displaying a table with GDP forecasts by country and territory for the years 2023 to 2025. The dataset, titled "Table1" from the file "World data.xlsx," is ready for transformation or loading into the spreadsheet.

Step 3: Load Data into the Query Editor

After selecting your source, Excel opens the Power Query Editor, where you can preview and transform your data.


Understanding the Power Query Interface

The Power Query Editor is designed for ease of use. Here’s what you’ll see:


Main Sections

  • Ribbon Toolbar: Contains transformation tools like remove columns, filter rows, split data, etc.

  • Data Preview Grid: Shows a sample of your data

  • Query Settings Pane: Lists all applied steps

  • Formula Bar: Displays the M code behind each transformation


Microsoft Power Query Editor interface with menu options: Home, Transform, Add Column, View, highlighted in red. Text includes "Centre of Power" logo.
Power Query interface showcasing various options for managing columns, transforming data, and adjusting settings in a centralized layout for efficient data manipulation and analysis.

Key Tabs

  • Home: Basic transformations (remove rows, change types, etc.)

  • Transform: Advanced shaping tools (pivot, unpivot, extract)

  • Add Column: Create custom columns based on logic or formulas

  • View: Toggle layout options and enable the formula bar

What You Can Do with Power Query

Power Query is more than just a data import tool. Here’s what makes it powerful:


Clean and Shape Data

  • Remove duplicates

  • Filter rows

  • Split or merge columns

  • Change data types

  • Replace values


Automate Data Refresh

Once a query is built, you can refresh it with one click. Power Query will reapply all transformations to the updated data source.


Combine Data Sources

  • Append Queries: Stack data from multiple tables

  • Merge Queries: Join tables based on common fields


Prepare Data for Analysis

Power Query ensures your data is clean and structured—ready for pivot tables, charts, or dashboards.


Real-World Use Cases

Power Query is used across industries for tasks such as:

  • Finance: Consolidating monthly reports from multiple departments

  • Marketing: Cleaning campaign data from various platforms

  • Sales: Merging CRM exports with performance metrics

  • Operations: Automating inventory updates from supplier spreadsheets

Its versatility makes it a valuable tool for professionals at all levels.


Tips for Beginners

  • Start with small datasets to get familiar with the interface

  • Use the Applied Steps pane to track and undo changes

  • Rename queries and columns clearly for better organization

  • Explore the M language gradually for advanced customization

  • Save and refresh queries regularly to automate workflows


Common Mistakes to Avoid

  • Ignoring data types—incorrect types can break calculations

  • Overcomplicating queries—keep transformations simple and modular

  • Forgetting to refresh—always update queries when source data changes

  • Not documenting steps—use comments and clear naming conventions

  • Skipping validation—always check the final output for accuracy


FAQ: Power Query Basics

Q: Is Power Query the same as Power Pivot?

No. Power Query is for importing and transforming data; Power Pivot is for modeling and analyzing it.


Q: Can I use Power Query with external databases?

Yes. You can connect to SQL Server, Oracle, MySQL, and many others.


Q: Is Power Query available on Mac?

As of now, Power Query is limited on Excel for Mac, but Microsoft is gradually expanding support.


Q: Do I need to know coding to use Power Query?

Not at all. The interface is designed for non-programmers, though advanced users can leverage M code.


Start Using Power Query Today

Power Query is already available in the Excel version you use. Whether you're cleaning up spreadsheets, merging reports, or building dashboards, Power Query can save you hours of manual work.

Here’s what you can do next:

  • Open Excel and explore the Get & Transform Data section

  • Try importing a simple dataset and applying basic transformations

  • Bookmark this guide and build your first automated query


Don’t wait—start transforming your data with Power Query today. Your future self will thank you. In the next lesson you can find workbook and other explanations to practice.

Comments


bottom of page