Power Query is Excel's built-in tool for importing, cleaning, and transforming data from 30+ sources without writing code. It handles most data prep tasks well, but caps out around 1 million rows, lacks real-time refresh, and has no team collaboration features. For larger-scale or compliance-sensitive data workflows, a dedicated ETL platform like Integrate.io extends what Power Query can do.

Key Takeaways

  • Power Query is available natively in Excel 2016 and later; older versions require a free add-in.
  • You can import data from Excel files, databases, web pages, cloud services, and CSV/TSV files, then transform it without writing code.
  • The M language gives advanced users precise control over transformations that the GUI cannot handle.
  • Power Query hits hard limits at roughly 1 million rows, has no real-time data refresh, and lacks audit logging for compliance.
  • When data volumes, team size, or compliance requirements grow, a dedicated ETL platform like Integrate.io is the practical next step.
  • Excel 2025/2026 updates include the Modern Get Data dialog (version 2510+), OneLake catalog integration, and web-based query refresh.

What is Power Query?

Power Query is a data connectivity and data preparation tool built into Microsoft Excel and Power BI. It lets users import, clean, and transform data from a wide range of sources, reducing manual data prep and enabling more accurate analysis. Power Query provides a visual interface for extraction, transformation, and loading (ETL) tasks, with no programming knowledge required for most workflows.

Key Features and Capabilities

  • Data Import: Connect to Excel files, SQL databases, web pages, cloud services, CSV/TSV files, and OData feeds. Consolidate multiple sources into one dataset.
  • Data Transformation: Filter rows, sort columns, pivot and unpivot data, merge or append queries, remove duplicates, and create custom columns.
  • Automation: Once a query is defined, Power Query refreshes data from the source on a schedule, keeping your analysis current.
  • User-Friendly Interface: Apply transformations through clicks. For complex logic, the M language provides full programmatic control.
  • Integration: Works directly inside Excel alongside familiar formulas and functions.

Why Power Query Matters for Excel Users

Power Query automates repetitive data preparation tasks, reducing manual effort and minimizing errors. It handles datasets that would be impractical to clean by hand, and it makes data transformation accessible to users at every skill level. The result: cleaner data, faster analysis, and less time spent on prep work.

Related Reading: 5 Best Power BI Dashboards

What's New in Power Query for Excel in 2026

The current page has been updated to reflect changes introduced in 2025 and carried into 2026. If you're running an older version of Excel, some of these features may not yet be available.

Modern Get Data Dialog (Excel version 2510+, Windows)

Microsoft introduced a redesigned Get Data dialog in Excel for Windows starting with version 2510. The new interface organizes connectors into clearer categories, surfaces recently used sources, and makes it faster to locate specific connectors without scrolling through a flat list.

OneLake Catalog Integration

Excel now supports browsing and connecting to Microsoft Fabric Lakehouses and Warehouses directly from the Get Data dialog via the OneLake catalog. For teams already using Microsoft Fabric, this removes the need to copy connection strings manually. You can browse available tables in the catalog and load them into Power Query the same way you would any other source.

Excel for the Web: Query Refresh

Excel for the Web gained the ability to refresh Power Query queries from authenticated data sources in 2025. Previously, web-based Excel was read-only for Power Query output. Teams that share workbooks via SharePoint or OneDrive can now trigger refreshes without opening the desktop application.

What This Means for Data Teams

These updates tighten Excel's connection to cloud data infrastructure. If your organization uses Microsoft Fabric or stores data in OneLake, Power Query is now a more viable front-end for that data. That said, the core limitations around row counts, real-time refresh, and collaboration remain. See the Power Query Limitations section below.

Getting Started with Power Query

How to Access Power Query in Different Versions of Excel

  • Excel 2010 and 2013: Power Query is available as a free add-in. Download and install it from the Microsoft website.
  • Excel 2016 and later: Power Query is integrated natively under the "Data" tab, labeled "Get and Transform Data."
  • Excel for Microsoft 365: Fully integrated and updated regularly, including the Modern Get Data dialog on Windows.
  • Excel for Mac: Power Query is available in Microsoft 365 for Mac, though some connectors available on Windows are not yet supported on Mac.
  • Excel for the Web: Query refresh from authenticated sources was added in 2025; full query creation is still limited to the desktop application.

Initial Setup and Configuration

For Excel 2010 and 2013, after downloading the add-in:

  1. Run the downloaded installer and follow the on-screen instructions.
  2. Go to File > Options > Add-Ins. In the Manage box, select "COM Add-ins" and click "Go."
  3. Check the box for "Microsoft Power Query for Excel" and click "OK."

In Excel 2016 and later, no installation is needed. Open Excel and navigate to the "Data" tab.

Note on add-in deprecation: Microsoft has signaled that the standalone Power Query add-in for Excel 2010/2013 will not receive further feature updates. If your organization is still on these versions, plan for an upgrade path.

Basic User Interface Walkthrough

  • Navigator Pane (left): Displays available data sources. Browse connections including files, databases, and online sources.
  • Query Editor (center): The main workspace for transformations. Contains the ribbon, data preview, and applied steps.
    • Ribbon: Tabs for Home, Transform, Add Column, and View.
    • Data Preview: Shows a live preview of your data as transformations are applied.
    • Applied Steps (right): Lists every transformation step in order. Edit, reorder, or remove steps here.
    • Properties and Queries Pane: Manage query names, descriptions, and see all queries in the workbook.

Importing Data with Power Query

Power Query connects to a wide range of sources:

  • Excel Files: Import data from other Excel workbooks.
  • Databases: SQL Server, Access, Oracle, MySQL, PostgreSQL, and others.
  • Web Pages: Extract tables and structured data from URLs.
  • CSV/TSV Files: Load data from delimited text files.
  • Cloud Services: Azure, SharePoint, OneLake, and other cloud platforms.
  • OData Feeds: Connect to OData endpoints for live data access.

Step-by-Step Guide to Importing Data

  1. Open Excel and navigate to the Data tab. In Excel 2016 and later, select "Get Data." In Excel 2010/2013, click the "Power Query" tab.
  2. Select your data source. Choose from the drop-down menu. For example, select "From File" > "From Excel Workbook" to import from another Excel file.
  3. Connect to the data source. Navigate to the file or enter database credentials.
  4. Load data in the Navigator window. Select the desired table(s). Click "Load" to import directly, or "Transform Data" to open the Power Query Editor.
  5. Transform and load. Apply transformations in the editor (filtering, sorting, merging), then click "Close and Load" to bring the data into Excel.

Common Issues and Troubleshooting

  • Connection errors: Verify the data source path, check network connectivity, and confirm you have the necessary permissions.
  • Data formatting issues: Use Power Query's transformation tools to standardize formats during import.
  • Performance issues: Filter data at the source and reduce the number of columns imported. See the Performance Benchmarks section for specifics.
  • Missing data: Confirm all necessary columns are selected during import. Use "Transform Data" to review before loading.

Transforming Data Using Power Query

Data transformation in Power Query means modifying and preparing data to make it suitable for analysis. This includes cleaning, reshaping, and enriching data to ensure consistency and accuracy.

Step-by-Step Examples of Common Transformations

1. Filtering Data:

  • Open the Power Query Editor and select the column to filter.
  • Click the drop-down arrow next to the column header.
  • Choose filter criteria (by value, text, or date) and click "OK."

2. Sorting Data:

  • Select the column to sort.
  • Click "Sort Ascending" or "Sort Descending" in the toolbar.

3. Merging Queries:

  • Go to the Home tab and click "Merge Queries."
  • Select the queries to merge and choose the matching columns from each.
  • Specify the join type (Inner, Outer, Left, Right) and click "OK."

4. Removing Duplicates:

  • Select the column(s) where duplicates should be removed.
  • Click "Remove Duplicates" in the toolbar.

Advanced Transformation Techniques

Pivoting Data:

  • Select the column containing values to pivot.
  • Go to the Transform tab and click "Pivot Column."
  • Choose the values column and specify the aggregation function (sum, average, etc.).

Unpivoting Data:

  • Select the columns to unpivot.
  • Go to the Transform tab and click "Unpivot Columns."
  • The data converts from wide format to long format.

Creating Custom Columns:

  • Go to the Add Column tab and click "Custom Column."
  • Enter a name and write a formula using M language or predefined functions.

Power Query Editor: A Deep Dive

The Power Query Editor is a dedicated workspace within Excel for performing data transformations. Its main components:

  • Ribbon (top): Tabs for Home, Transform, Add Column, and View, each with tools for specific operations.
  • Navigator Pane (left): Lists all queries in the workbook. Click any query to switch to it.
  • Data Preview (center): Shows a live preview of your data, updating as transformations are applied.
  • Applied Steps Pane (right): Lists each transformation step in order. Edit, reorder, or remove steps here.
  • Properties Pane (above Applied Steps): Rename queries and add descriptions.

Key Functionalities and Tools Within the Editor

  • Home Tab: Basic data manipulation: remove rows, keep rows, split columns.
  • Transform Tab: Pivot/unpivot, replace values, change data types.
  • Add Column Tab: Create custom columns, conditional columns, and index columns.
  • View Tab: Show or hide panes, toggle query dependencies.

Best Practices for Using the Power Query Editor

  • Start with clean data. Remove unnecessary columns and rows early to reduce downstream complexity.
  • Document your steps. Use the Properties pane to rename queries and add descriptions.
  • Review Applied Steps regularly. Remove redundant steps to keep queries efficient.
  • Use M language for complex logic. The GUI handles most tasks, but M language handles edge cases the GUI cannot.
  • Set up automatic refresh. If your data source updates frequently, configure scheduled refresh so your analysis stays current.
  • Test incrementally. Apply and test transformations one step at a time to catch errors early.

Creating and Running Queries in Excel

Step-by-Step Guide to Creating a Query

  1. Open Excel and go to the Data tab. Click "Get Data" (Excel 2016+) or the "Power Query" tab (Excel 2010/2013).
  2. Select your data source. Choose "From File," "From Database," "From Web," etc.
  3. Connect to the data source. Navigate to the file or enter connection details.
  4. Select data and load. In the Navigator window, select tables or ranges. Click "Load" to import directly, or "Transform Data" to open the editor.
  5. Transform data if needed. Apply filtering, sorting, or merging in the Power Query Editor, then click "Close and Load."

How to Run and Manage Queries

  • Refresh all queries: Go to the "Data" tab and click "Refresh All."
  • Refresh a specific query: Right-click the query table and select "Refresh."
  • Manage queries: Go to "Data" > "Queries and Connections" to edit, delete, or refresh individual queries.
  • Edit a query: Right-click it in the Queries and Connections pane and select "Edit."

Practical Examples and Use Cases

Example 1: Merging Sales Data

Import sales data from multiple Excel files. Merge into a single table using "Merge Queries." Apply transformations to remove duplicates and sort by date.

Example 2: Cleaning Customer Data

Import customer data from a CSV file. Use the editor to remove empty rows, split columns by delimiter, and correct data types. Load the cleaned data into Excel for analysis.

Example 3: Web Data Extraction

Import data from a web page (stock prices, product listings). Filter relevant rows and columns. Schedule automatic refreshes to keep the data current.

Advanced Power Query Techniques

Using Power Query Formulas

Power Query formulas, written in the M language, enable complex transformations beyond what the GUI offers.

Creating a Custom Column

Go to the Add Column tab, click "Custom Column," and enter a formula:

if [Sales] > 1000 then "High" else "Low"

This categorizes sales values as "High" or "Low" based on a threshold of 1000.

Text Manipulation

Text.Upper([Name])

This converts the "Name" column to uppercase.

Introduction to M Language for Advanced Users

The M language is a functional language used in Power Query to define data transformation steps. It gives advanced users precise control over data manipulation.

Key Features of M Language

1. Let Expressions

"Let" expressions define intermediate steps within a query, making complex transformations easier to manage:

let
    Source = Excel.CurrentWorkbook(){[Name="SalesData"]}[Content],
    FilteredRows = Table.SelectRows(Source, each [Sales] > 1000),
    Result = Table.Sort(FilteredRows, {"Sales", Order.Descending})
in
    Result
  • Source: Pulls data from the "SalesData" worksheet in the current workbook.
  • FilteredRows: Keeps only rows where Sales exceeds 1000.
  • Result: Sorts those rows by Sales in descending order.
  • in Result: Outputs the final sorted, filtered table.

2. Custom Functions

Define reusable functions for repeated tasks:

(x as number) => x * 2

This function takes a number and returns double its value. Replace 2 with any multiplier as needed.

3. Error Handling

Use try...otherwise to handle errors gracefully:

try [Sales] / [Quantity] otherwise null

If the division fails (for example, due to a zero or missing value), the result is null instead of an error that breaks the query.

Power Query Performance Benchmarks and Limits

Understanding Power Query's actual thresholds helps you plan data workflows before hitting a wall.

Hard Limits

  • Excel worksheet row limit: 1,048,576 rows. Power Query loads data into Excel's grid, so this is the absolute ceiling for any single table.
  • Practical performance threshold: Queries on datasets above roughly 500,000 rows will show noticeable slowdown on most consumer hardware, unless query folding is active.

Query Folding

Query folding is the process of pushing transformation logic back to the source database, so the database does the filtering and aggregating before sending data to Power Query. This dramatically reduces memory usage and processing time.

  • Connectors that support query folding: SQL Server, Oracle, PostgreSQL, OData.
  • Connectors that do not support query folding: CSV files, Excel files, web scraping.

When query folding is active, a transformation like "filter rows where Sales > 1000" runs as a SQL WHERE clause at the source, not in Excel's memory. When it is not active, Power Query loads the full dataset into memory first, then filters.

Memory Considerations

Power Query loads data into memory during transformation. RAM is the primary constraint on large dataset performance. If your machine has 8GB of RAM and your dataset expands to several hundred thousand rows with multiple transformation steps, expect slowdowns. Reducing columns early in the query and enabling query folding where possible are the two most effective mitigations.

Power Query Limitations: When Excel Isn't Enough

Power Query is the right tool for most Excel-based data prep. But it has real limits that matter for growing data teams.

Row Limits

Power Query loads data into Excel's worksheet grid, which caps at 1,048,576 rows. Any dataset larger than that requires a different approach. For organizations managing millions of rows across multiple sources, this limit becomes a recurring problem.

No Real-Time Data

Power Query refreshes on a schedule or manually. It does not support sub-minute streaming or change data capture (CDC). If your use case requires data that is current within seconds (real-time dashboards, operational alerts), Power Query is not the right tool.

Limited Transformation Library for Complex Pipelines

Power Query covers most Excel-level data prep well. But complex multi-source orchestration, API-to-warehouse pipelines, and automated error handling across dozens of jobs require a dedicated ETL platform. The 220+ transformations available in a platform like Integrate.io go well beyond what Power Query's GUI supports.

Collaboration Constraints

Power Query queries live inside a workbook. There is no version control, no team-level pipeline management, and no audit logging. If two people edit the same workbook, changes can conflict. For data teams managing shared pipelines, this is a significant operational risk.

Compliance Gaps

Power Query has no built-in audit trails, data masking, or compliance certifications. Organizations subject to HIPAA, SOC 2, GDPR, or CCPA need controls that Excel cannot provide.

When to Consider a Dedicated Data Pipeline Platform

Consider moving beyond Power Query when:

  • Data volumes regularly exceed Excel's row limit.
  • Your team manages more than a handful of recurring data jobs.
  • Compliance requirements (HIPAA, SOC 2, GDPR) require audit trails and access controls.
  • You need real-time or near-real-time data refresh.
  • Multiple team members need to collaborate on shared pipelines.

For a detailed side-by-side, see the Data Transformation Showdown: Integrate.io vs. Power Query and the Integrate.io ETL platform.

Power Query vs. Dedicated ETL Tools: A Quick Comparison

Capability Power Query (Excel) Dedicated ETL (e.g. Integrate.io)
Data volume Up to ~1M rows Tens of billions of rows
Real-time replication No Yes (sub-60-second CDC)
Data sources 30+ connectors 150+ connectors
Scheduling Manual or workbook-level Automated, cron-based, event-triggered
Collaboration Single workbook Team pipelines, version control
Compliance None built-in SOC 2, HIPAA, GDPR, CCPA
Skill required Excel proficiency Low-code, no deep engineering needed
Audit logging None Full audit trails
Support Microsoft documentation 24/7 dedicated support team

Power Query and dedicated ETL tools are not competitors for the same job. Power Query is the right choice for individual analysts doing data prep inside Excel. A dedicated platform is the right choice when data volumes, team size, or compliance requirements outgrow what a workbook can handle. See ETL vs. ELT for a deeper look at the architectural differences.

Integrating Power Query with Integrate.io

Integrate.io is a cloud-based data integration platform with full ETL and ELT capabilities, 150+ connectors, and sub-60-second CDC replication. It is SOC 2 certified and HIPAA, GDPR, and CCPA compliant.

For teams that have outgrown Power Query, Integrate.io extends the same "connect, transform, load" workflow to enterprise scale. Pipelines are built visually with 220+ low-code transformations, automated on a schedule or event trigger, and monitored with built-in data observability.

Key ways Integrate.io extends Power Query workflows:

  • Broader source connectivity: Connect to cloud services, SaaS applications, and on-premises databases that Power Query cannot reach reliably at scale.
  • Automated pipelines: Schedule data refreshes and transformations without manual intervention, ensuring data is always current.
  • Scalability: Handle datasets that exceed Excel's row limit, using cloud infrastructure to process tens of billions of rows.
  • Compliance: SOC 2 Type II certification, HIPAA and GDPR compliance, field-level encryption, audit logs, and role-based access controls.
  • Team collaboration: Shared pipeline management, version history, and dedicated solution engineers.

To see how the two tools compare on data transformation specifically, read Data Transformation Showdown: Integrate.io vs. Power Query.

Common Problems and Solutions in Power Query

Troubleshooting Guide

Issue Cause Solution
Connection errors Incorrect path, missing permissions, or network issue Verify the data source path, confirm network access, check credentials
Slow performance Large dataset, no query folding, too many steps Filter early, remove unused columns, enable query folding where the connector supports it
Data type errors Columns assigned the wrong type Use "Detect Data Type" or manually set types in the editor
Missing data Incomplete source or columns not selected during import Check the source, use "Transform Data" to review before loading, then refresh

Tips for Avoiding Common Pitfalls

  • Plan your query before building it. Outline transformation steps in advance to avoid unnecessary complexity.
  • Break complex transformations into smaller steps. Easier to troubleshoot and understand.
  • Use descriptive names for queries and steps. Makes maintenance and handoffs much easier.
  • Test incrementally. Apply one transformation at a time and verify the result before moving on.
  • Use try...otherwise for error handling. Prevents a single bad row from breaking the entire query.

FAQs

What is Power Query used for in Excel?

Power Query imports, cleans, and transforms data from sources including Excel files, databases, web pages, and cloud services. It automates data preparation so that the data loaded into Excel is consistent and ready for analysis.

How do I create a Power Query in Excel?

Go to the "Data" tab, select "Get Data," choose your data source, and follow the prompts to connect and import. Use the Power Query Editor to apply transformations, then click "Close and Load" to bring the data into Excel.

What is the difference between Power Query and Power Pivot?

Power Query handles data import and transformation: it connects to sources, cleans data, and loads it into Excel. Power Pivot handles data modeling and analysis: it creates relationships between tables and supports DAX formulas for calculations. Most workflows use both: Power Query prepares the data, Power Pivot analyzes it.

Does Power Query work on Excel for Mac?

Yes. Power Query is available in Microsoft 365 for Mac. Some connectors available on Windows are not yet supported on Mac, but core functionality (importing from files, databases, and web sources) works on both platforms.

What is query folding in Power Query?

Query folding pushes transformation logic back to the source database, so the database filters and aggregates data before sending it to Power Query. This reduces memory usage and speeds up queries significantly. Query folding works with SQL Server, Oracle, PostgreSQL, and OData connectors. It does not work with CSV files, Excel files, or web scraping.

Can Power Query connect to APIs?

Yes, via the Web connector. Enter the API endpoint URL and Power Query will retrieve the response. For APIs requiring authentication or custom headers, you can use M language functions to pass parameters. Complex API workflows with pagination or token refresh are easier to manage in a dedicated ETL platform.

What is the M language in Power Query?

M is the functional programming language that Power Query uses internally to record and execute transformation steps. Every action you take in the GUI generates M code in the background. Advanced users can write M directly to create custom functions, handle errors, and build transformations the GUI does not support.

When should I use Power Query vs. a dedicated ETL tool?

Use Power Query when you are working inside Excel, your datasets are under 1 million rows, and you are the primary person managing the data. Consider a dedicated ETL platform like Integrate.io when data volumes exceed Excel's row limit, when multiple team members need to collaborate on shared pipelines, when compliance requirements demand audit trails, or when you need real-time or near-real-time data refresh.

Partner with Integrate.io to Go Beyond Power Query

Power Query is a capable tool for Excel-based data prep. Mastering it reduces manual work, improves data quality, and makes analysis faster. But when your data volumes grow, your team expands, or compliance requirements tighten, Power Query's limits become real constraints.

Integrate.io picks up where Power Query leaves off: 150+ connectors, sub-60-second CDC replication, SOC 2 and HIPAA compliance, and 24/7 expert support. See for yourself with a free, 14-day trial. If you want to see the platform applied to your specific use case, schedule an intro call with one of our Solutions Engineers.

Additional Resources

Check out these communities:

Integrate.io: Delivering Speed to Data
Reduce time from source to ready data with automated pipelines, fixed-fee pricing, and white-glove support
Integrate.io