Forum Discussion

ZJ's avatar
ZJ
Frequent Visitor
7 years ago

Zip file (having the same name as actual file) from web source not working

Hi All,

 

I am fairly new to Power BI and mainly relying on your tutorials (https://community.powerbi.com/t5/Desktop/Unzip-and-load-csv-from-web-error-quot-we-didn-t-recognize-the/td-p/646849)

This solution works quite well, however, recently I encountered a Zip file which has multiple csv files and only one shows up after performing these steps and the Binary content is not readable...

 

When I download it and rename certain files, it works so I assume there is a naming issue, however, I can't figure out how to re-configure Mark White's much appreciated post...

I think I would have to change this part but I cannot figure out how: 

"each if _ <> 67324752 // not the IsValid number? then return a dummy formatter
then BinaryFormat.Record([IsValid = false, Filename="test", Content=null])"

 

And the url to the zip: https://vicroadsopendatastorehouse.vicroads.vic.gov.au/opendata/Road_Safety/ACCIDENT.zip

 

If you can give me to any direction, I really appreciate it :)

 

Cheers a lot, hope my question is in the correct form

ZJ

3 Replies