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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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