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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
michaelshparber
Advocate V
Advocate V

Extract XML file from ZIP using Power Query

Hello friends,

I have a file named "data.zip" that is updated daily in my onedrive.

It contains another file named "details.xml" that I want to import to PowerBI (.zip contains other files, too, but I need only this one).

I need to do this automatically so I can schedule the refresh without "unzipping" manually.

I have found some sources that should work with excel/csv files, but they are not working with xml.

http://sql10.blogspot.com/2016/06/reading-zip-files-in-powerquery-m.html

https://www.excelandpowerbi.com/?p=155

Please help.

Michael

3 REPLIES 3
v-frfei-msft
Community Support
Community Support

Hi @michaelshparber ,

 

Based on my research, it is not supported yet currently. There is an idea about that you can vote it up to make this feature coming sooner.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7084254-read-from-zip-files

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

I am pretty sure you can do it.

Since someone managed to extract Excel/Csv from zip - it means that zip files CAN be read.

And since Power BI works fine with XML - then it IS possible.

I just need help with the code that extracts XML from zip...

Please help

Thanks

 

Did you ever get this working for a XML file?

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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