Binary.ToText

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Encodes binary data into a text form.

Binary.ToText(binary as binary, encoding as number) as text  

ArgumentDescription
binaryThe binary data to encode.
encodingThe encoding option to apply.

Binary encoding

  • BinaryEncoding.Base64 = 0;

  • BinaryEncoding.Hex = 1;

Show: