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
Anonymous
Not applicable

Real time data from web page with .zip files

I am trying to create a real time report from the following website. 

The website updates data every hour by generating a new .zip file at the bottom of the list.

The difficulty is twofold:

  1. the .csv data is zipped;
  2. the name of the desired file changes every hour, which means that, while the base url remains uchanged, the full url changes periodocally;

 

zip fileszip files

 

I think the solution is to, within Transform Data, parse the text to match the web view and then select the last row.

But I don't know how to do that or if that's the right way.

Can someone please help?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I solved this problem with python.

Please check this reply. 

Cheers

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I solved this problem with python.

Please check this reply. 

Cheers

v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Test  M code as below:

let
Source = Web.Contents("http://res1104.se.gob.ar/adjuntos/precios_eess_2013_en_adelante.zip",[Headers=[#"Accept-Encoding"="gzip"]]),
Decompress = Binary.Decompress(Source, Compression.GZip)
in
Decompress

 

To learn more details ,refer:

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

Anonymous
Not applicable

Hello, Lucien

Thanks for the reply.

The problem with the solution provided is that the file path changes periodically whilst the code from your solution treats the file path as fixed. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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