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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
craig615
Regular Visitor

XML Import issues

Does any one know how to import an XML files into the Power BI Desktop App? I have tried adding an itereative tag to every element as well to try and get around "The multiple root elements.", because every element starts with the open and closed tag "row." That just throws a different error I assume because it is no longer a tradtional XML file. 

 

 

xmlError.PNG

 

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @craig615 ,

According to your error message, here's a similar thread for your reference: There are multiple root elements

Hope it helps!

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

PhilipTreacy
Super User
Super User

Hi @craig615 

 

Have you verified that the XML you are trying to load is valid?  You could use this Best Online XML Validator Tool (codebeautify.org)

 

Please post a complete example of one of the XML files so I can check it.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.