Create an advanced query (Power Query)

Important   This article applies to Power Query, a data analysis feature available for Excel that lets you discover, combine and refine data. You may need to enable Power Query in Excel. You can also download and install the most recent version of Power Query for Excel, which automatically enables it. Power Query technology is also built into the Power BI Designer, which is a stand-alone report authoring and data transformation tool for Power BI.

With Microsoft Power Query for Excel, you can create advanced queries that use the Power Query formula language. The Power Query Formula Language provides a wide variety of formulas that are used to build complex expressions. To learn more about the Power Query formula language, see Learn about Power Query Formulas. To create an advanced query, you start with a blank query and add query steps that contain Power Query formulas. To learn more about how to edit query steps, see Edit query step settings.

Note    When you insert or delete an intermediate step in a query you might potentially break a query. Power Query will display an Insert Step warning when you try to insert a new step.

Create an advanced query

  • In the Query Editor ribbon View tab, select Advanced Editor, or in the From Other Sources ribbon menu, select Blank Query.

Create an advanced query from scratch

You can also modify an existing query, as shown in the following video.

Modify an existing Power Query advanced query

Applies To: Excel 2010, Excel 2013



Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language