Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

New Member

multiple API retuning XML with inconsistent data types for same column



I have a query that has an API call to a table that returns an XML. Due to limitations on the API, I need to call the API for multiple pages. For some reason some of the columns are being returned as a single Text Value (or Date depending on the column) on one call but a Table Value on another.


Advanced Editor:



Sample output (this is also happening to a number of other columns):



Is there a way to stop having these incorrectly set as a table value? 

A way to convent just those that have been incorectly set as a Table Value?


Any help is appreciated.


Thanks, Reece.

Community Support
Community Support

Hi @Reece_EC ,


Sorry for that the information you have provided is not making the problem clear to me.

Do you want to keep on expanding Table values ? Or just filter out Table values?


Refer to:

Power Query XML connector - Power Query | Microsoft Docs:

Due to the fact that many XML documents have ragged or nested data, you may have to do extra data shaping to get it in the sort of form that will make it convenient to do analytics. This holds true whether you use the UI accessible Xml.Tables function, or the Xml.Document function. Depending on your needs, you may find you have to do more or less data shaping.



Best Regards,
Eyelyn Qin


Hi Eyelyn,

I am wanting the data in the "table" fields shown in the column just list the rest of the data in those columns.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors