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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Analitika
Post Prodigy
Post Prodigy

Can't load XML file in Power BI

Hi,

 

I would like to ask how to import xml file to power bi. I tied importing but loading data in tables takes much time. How to resolve it?

XML file sizei s 2 MB, Are there solutions for it?

3 REPLIES 3
v-binbinyu-msft
Community Support
Community Support

Hi @Analitika ,

To import an XML file into Power BI, you can use the Power Query XML connector. Here are the steps to load a local XML file from Power Query Desktop:

Select the XML option in the Get Data selection.
Browse to the directory containing the local XML file you want to load, and then select Open.
If loading data in tables takes much time, you can try to optimize your query by filtering out unnecessary data or reducing the number of columns . You can also try to increase the performance of your query by using DirectQuery mode or by using a more powerful computer.

As for the size of your XML file (2 MB), it should not be too large for Power BI to handle. However, if you are still experiencing issues with loading data in tables, you can try to split your XML file into smaller files or use a different file format such as CSV .

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

CSV not solves. It converts data in one line.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.