Power Query Problems

Transform an Excel Table with Power Query in Excel 2019

Maira MehtabMaira Mehtab Dec 2, 2026 868 views

Question details

The user wants to transform an Excel table into a different layout using Power Query.

Transform an Excel Table with Power Query in Excel 2019
Product
Microsoft Excel 2019, Office Home and Student 2019
Device & OS
not provided
Scenario
Reshape an existing Excel table and return the transformed result to a worksheet.
Observed behavior
The desired result is a table in a different layout, produced through Power Query transformations.
Before you start

Open the workbook and identify the source table and the layout you want to create. Check whether a Table1 query already exists under Data > Queries & Connections.

Solution 1Recommended

Edit the existing Table1 query in Power Query

Use this method if the workbook already contains a Table1 query.

1
Open the query

In Excel, select Data > Queries & Connections, then double-click Table1 to open it in the Power Query Editor.

2
Review existing transformations

In Query Settings, select entries under Applied Steps to see how each step changes the table. Use the gear icon beside a step, when available, to inspect its settings.

3
Reshape the table

Select the relevant columns and use commands on the Transform tab, such as Unpivot Columns, Pivot Column, or Transpose, to create the desired layout.

4
Load the result

Select Home > Close & Load to return the transformed table to Excel. To choose a destination, use the Close & Load menu and select Close & Load To.

Edit the existing Table1 query in Power Query
Choose transformations for your layout: The exact transformation steps depend on the source columns and the desired output. Review the existing Applied Steps if you need to reproduce a transformation already present in the workbook.
Free Microsoft Office alternative

Work with Excel Tables in WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Excel format compatibility for a smooth move between office suites. Power Query editing and refresh are Excel-specific, so use Excel when you need to maintain the query.

Open and edit spreadsheet tables in a familiar interfaceCompatible with Microsoft Excel XLS and XLSX formatsUse a free, lightweight office suite for everyday spreadsheet workContinue working with transformed table data after loading it in Excel
microsoft office alternative - wps office

Frequently Asked Questions

Where can I find an existing Power Query in Excel 2019?

Select Data > Queries & Connections. Double-click the query name, such as Table1, to open it in the Power Query Editor.

How can I see which transformations were already applied?

Open the query and inspect Applied Steps in the Query Settings pane. Select a step to see its result, or use its gear icon, if available, to inspect its settings.

How do I turn several columns into rows?

In the Power Query Editor, select the columns to reshape, then use Transform > Unpivot Columns. Choose the appropriate unpivot option based on which columns you want to keep as identifiers.

How do I choose where the transformed table is loaded?

In the Power Query Editor, open the Home > Close & Load menu and select Close & Load To. Choose the available destination options in the dialog.

Can WPS Spreadsheets edit or refresh an Excel Power Query?

Use Excel to edit or refresh the Power Query. WPS Spreadsheets can open Excel-format workbooks and work with table data, but it should not be relied on to maintain the query.