Power Query Problems

How to Expand Table Values When Excel Web Imports XML Data

Natalie TaylorNatalie Taylor Nov 3, 2026 869 views

Question details

Users importing XML data directly from websites into Excel find that some fields display the word 'Table' rather than the actual underlying data values.

How to Expand Table Values When Excel Web Imports XML Data
Product
Microsoft Excel
Device & OS
not provided
Scenario
Importing XML data directly from a web URL into an Excel spreadsheet.
Observed behavior
Certain data fields are formatted as complex nested objects, showing up as 'Table', 'List', or 'Record' in the cells instead of displaying the raw data values.
Before you start

Ensure you have an active internet connection to refresh the web data and that your version of Excel supports Get & Transform Data (Power Query).

Solution 1Recommended

Expand Complex Columns in Power Query Editor

Use the built-in Power Query Editor to manually expand columns containing nested tables, lists, or records into individual rows or fields.

When Excel imports structured data like XML directly from the web, nested data structures are often bundled into complex objects to preserve their hierarchy. Power Query provides an easy built-in tool to extract these underlying values.

1
Open Power Query Editor

In Excel, select your imported data table, navigate to the 'Data' tab on the ribbon, and click 'Get Data' > 'Launch Power Query Editor'. Alternatively, double-click the query in the Queries & Connections pane.

2
Locate the Complex Column

Scroll through your dataset in the editor to find the specific column where the cells display the word 'Table' (or 'List'/'Record') in green text.

3
Click the Expand Icon

Click the 'Expand' icon (two arrows pointing in opposite directions) located in the upper-right corner of that column's header.

4
Select the Data Fields

In the drop-down menu, choose which nested fields you want to extract. Uncheck 'Use original column name as prefix' if you prefer shorter column names, then click 'OK'.

5
Load the Data

Once the underlying values are visible, click 'Close & Load' on the Home tab to apply your changes and output the expanded data to your Excel worksheet.

Expand Complex Columns in Power Query Editor
Local XML vs Web XML: XML files saved locally and opened directly in Excel may parse using legacy methods, flattening the data automatically. Importing via the web uses Power Query, requiring this manual expansion for precise control over complex data.
Free Microsoft Office alternative

A Lightweight and Powerful Alternative for Spreadsheets

If you frequently encounter complex data import issues with Microsoft Excel, consider switching to WPS Office. It provides a highly compatible, free, and lightweight spreadsheet solution that handles standard data formats with ease.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installer for your operating system.
  2. 2. Install the Software: Run the installer and follow the straightforward on-screen instructions to set up WPS Office on your device.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx or .xml files to start editing immediately.
Highly compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Lightweight software that runs smoothly without consuming excessive system resources.Familiar user interface ensuring a seamless migration with zero learning curve.Built-in robust data filtering and sorting capabilities for everyday spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show 'Table' instead of my XML data?

When importing structured data like XML or JSON, nested elements containing multiple sub-items are bundled into objects. Power Query represents these as 'Table', 'Record', or 'List' to prevent data loss until you explicitly choose how to expand them.

How do I extract data from a 'Record' in Power Query?

Similar to expanding a table, click the Expand icon on the Record column header. This will open a menu allowing you to select the specific fields within the record to pull into new distinct columns.

Can I automatically expand all complex columns during import?

There isn't a native one-click setting to expand all nested columns automatically upon web import. You must open the Power Query Editor and manually click the expand icon for each complex column before loading the data.

Why does opening a local XML file behave differently than importing from the web?

Opening a local XML file often triggers Excel's legacy XML parser, which flattens the data structure automatically. Web imports utilize the newer Power Query engine, which strictly maintains the hierarchical structure of the data and requires manual expansion.