Introduction to the Query Editor (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.

The Query Editor only appears when you load, edit, or create a new query using Power 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 the 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 has the following user interface elements:

  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, such as a table column, within the editor preview grid.

  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 to reduce and rearrange one or more tables into a subject table to match your data analysis requirements. For more information about shaping data, see Shape data.

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

    Query Editor Parts

Applies To: Excel 2013, Excel 2010



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