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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
DenisO
New Member

Problem with XML Import in PowerBi

Dear PowerBi Community,

 

I have a xml file which all my data unfortunately. I don't have another format and I am used to use xml.

 

It seems like a Problem to import the data. If i import the data with one single line no error approves.

But If I take the second line (have the same struktur, only other values) he fails with the error:

 

Xml processing failed. Either the input is invalid or it isn't supported.

(Internal error: There are multiple root elements. Line 2, position 2.)

 

So my first guess was that my xml file is corrupt. So I tried to Import it in

Ultraedit and File Viewer Plus. Which are xml Parser and they show me correct the xml Tree and Values.

 

Ask me anytime for Questions.

 

 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @DenisO

I connect to this xml file with Power BI Desktop

(save this xml file on my local server, then select Home->XML, select this file from my server),

it works fine on my side. 

 

Could you share with me your test xml file so i can reproduce your problem?

You could paste your content inside the xml file here or upload the file online (for example, OneDrive for bussniess), then share the link here.

 

 

Best Regards

Maggie

Hi Maggie,

 

I'm back from my holidays, any ideas with my xml file ?

I sended you the OneDrive download Link via Message.

 

Best greetings 

Denis

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.