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

2 REPLIES 2
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

 

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.