Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi good day,
Can anyone share the query function by MARK WHITE, coz now show error on his page.
Thank you
Solved! Go to Solution.
Here’s a general approach to decompress ZIP files in Power Query:
Load the ZIP file:
let
Source = Binary.Buffer(File.Contents("path_to_your_zip_file.zip"))
in
SourceExtract the contents:
let
Source = Binary.Buffer(File.Contents("path_to_your_zip_file.zip")),
ZipStart = Binary.Start(Source, 4),
ZipEnd = Binary.End(Source, 4),
ZipContents = Binary.Middle(Source, ZipStart, ZipEnd)
in
ZipContentsConvert the binary data to a table:
let
Source = Binary.Buffer(File.Contents("path_to_your_zip_file.zip")),
ZipStart = Binary.Start(Source, 4),
ZipEnd = Binary.End(Source, 4),
ZipContents = Binary.Middle(Source, ZipStart, ZipEnd),
TableFromZip = Table.FromList(ZipContents, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
TableFromZipCopied from AI Tool.
Please follow below coumminty links there these problems have alrady been dissucssed.
Zip function from MARK WHITE - Microsoft Fabric Community
Working With Zip Files in Power Query - Microsoft Fabric Community
[PowerQuery] Decompress .zip Files - Microsoft Fabric Community
I hope this helps!
If you found this answer helpful:
Mark it as the solution to help others find it faster.
Give it a kudo to show your appreciation!
Thank you for being an awesome community member!
Here’s a general approach to decompress ZIP files in Power Query:
Load the ZIP file:
let
Source = Binary.Buffer(File.Contents("path_to_your_zip_file.zip"))
in
SourceExtract the contents:
let
Source = Binary.Buffer(File.Contents("path_to_your_zip_file.zip")),
ZipStart = Binary.Start(Source, 4),
ZipEnd = Binary.End(Source, 4),
ZipContents = Binary.Middle(Source, ZipStart, ZipEnd)
in
ZipContentsConvert the binary data to a table:
let
Source = Binary.Buffer(File.Contents("path_to_your_zip_file.zip")),
ZipStart = Binary.Start(Source, 4),
ZipEnd = Binary.End(Source, 4),
ZipContents = Binary.Middle(Source, ZipStart, ZipEnd),
TableFromZip = Table.FromList(ZipContents, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
TableFromZipCopied from AI Tool.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 89 | |
| 74 | |
| 40 | |
| 26 | |
| 25 |