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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Kristan
Frequent Visitor

Zip file from web source

Hi all,

 

Is there a way to import a zip file directly from the web?  Instead of downloading the zip file and then using the folder location as the data source.

 

Many thanks,

 

Kristan

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi Kristan,

 

I understand your requirement but I'm afraid Web.Contents() only support import data from DOM tree of one website. So we could only achieve the .zip files' name list with this function. As a workaround, I would recommend you to save these files firstly using R or python script and Unzip these compressed files in power query. For more details, please refer to similar cases below:

https://community.powerbi.com/t5/Integrations-with-Files-and/Download-and-unzip-multiple-files-from-...

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

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

 

Regards,

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi Kristan,

 

I understand your requirement but I'm afraid Web.Contents() only support import data from DOM tree of one website. So we could only achieve the .zip files' name list with this function. As a workaround, I would recommend you to save these files firstly using R or python script and Unzip these compressed files in power query. For more details, please refer to similar cases below:

https://community.powerbi.com/t5/Integrations-with-Files-and/Download-and-unzip-multiple-files-from-...

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

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

 

Regards,

Jimmy Tao

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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