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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MarcusR1
Helper II
Helper II

PowerBI reads XML file incorrectly

This is really strange, I have an XML file that PowerBI reads in without any problem, but it is skipping data! Here's a shot of the file in a text editor:

XML-error-2020-09-04_15-22-56.png

But in PowerBI the client_id, project_id and task_id are blank 

XML-error-BI-2020-09-04_15-26-02.png

 

Has anyone else come across this? The XML file loads into other programs (excel) no problem (client_id arrowed)

 

XML-error-CSV-2020-09-04_15-32-16.png

 

I have tried refreshing the data, and even deleting the entire table and starting again, but nothing works!

plesae help!

 

OK, quick update - this is getting surreal!

I tried a few things (changed client_id to client_idnew) to check that PBI was actually reading the field, it put it at the end of the columns so I could tell it had seen something different. So then I went into the text editor and manually added 'blabla' to the record below the one I'm interested in:

XML-error-take2-2020-09-04_16-10-54.png

 

and refreshed the Data Source in Power Query Editor, whilst watching the client_idnew column, expecting to see 'blabla' come into the column, and blow me down, the correct client_idnew for both records now read in correctly!!

XML-error-take2-2020-09-04_16-09-54.png

It's almost as if the data was cached somehow, and that re-saving the file in the text editor (notepad++) corrected the XML somehow - this is so wierd! I still can't get the whole file to load the _id columns.

 

 

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

Try Table.Buffer to see if that forces a re-read.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.