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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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