Power Query
Search…
Binary.Compress

Binary.Compress

Compresses a binary value using the given compression type.
function (optional binary as nullable any, compressionType as number) as nullable any

Description

Compresses a binary value using the given compression type. The result of this call is a compressed copy of the input. Compression types include:

Category

Binary

Examples

Compress the binary value.
1
Binary.Compress(Binary.FromList(List.Repeat({10}, 1000)), Compression.Deflate)
Copied!

binary({227, 226, 26, 5, 163, 96, 20, 12, 119, 0, 0})

Last modified 3yr ago