Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Introduction to the Query Editor (Power Query)

Note: This article has done its job, and will be retiring soon. To prevent "Page not found" woes, we're removing links we know about. If you've created links to this page, please remove them, and together we'll keep the web connected.

Note:  Power Query is known as Get & Transform in Excel 2016. Information provided here applies to both. To learn more, see Get & Transform in Excel 2016.

The Query Editor only appears when you load, edit, or create a new query. The following video shows the Query Editor window appearing after editing a query from an Excel workbook.

To view the Query Editor without loading or editing an existing workbook query:

From the Get External Data section in the Power Query ribbon tab, select From Other Sources > Blank Query.

How to see Query Editor in Excel

With Query Editor, you can navigate, define, and perform data transform operations over a data source. To display the Query Editor dialog box, connect to a data source, and click Edit Query in the Navigator pane or double-click a query in the Workbook Queries pane. To connect to a data source, see Import data from external data sources.

The query editor includes these features:

  1. Query Editor ribbon.

  2. Navigator pane that enables you to browse structured data sources to find the data table that you want to query.

  3. Context menus are specific to an element within the editor preview grid—such as a table column.

  4. Preview grid that displays a preview of data from the results of each query step. You interact within the Preview pane to shape data and rearrange tables into a subject table to match your data analysis requirements. For more information, see Shape data.

  5. The Query Settings panel, which includes each query step. A step corresponds to each of the data acquisition or data transformation tasks that can be applied on a query. For more information about how to edit query steps, see Edit query step properties.

    Query Editor Parts

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!