Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Expand Data Errors

Hello Everyone,

I'm currently working on a PBIX in which I have to analyze datas from a Windows Folder with tons of XML Files. 

I used this solution to merge all the XML Files in one Query : Solved: Import multiple XML files - Microsoft Power BI Community

 

The problem is when I want to Expand the Datas from the query.

I chose the columns I want to expand and this error appears : 

NomisNajou_0-1666270380023.png

Ima translate it : "DataFormatError : Sorry... We could proceed to XML treatment, because the entry is invalid or not supported. (Internal error: Invalid data at root level. Line 1, position 1.) Details : [Binary]

 

The point is, as you can see below, I have a column containing only "Binary" for earch rows. But i deleted this column so I don't understand why it is affecting my expand ?

NomisNajou_1-1666270724244.png

 

 

Thank you for your time and feel free to ask if i'm missing some informations you need ! 

I'm new to PBI and I hope you'll be able to help me 🙂

 

Have a good day !

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You can get this error when your source file has more columns in it than there were originally when the first import was done and the helper/transform functions were created.

Hard to say for sure without seeing your query and the source data.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.