Text.ToBinary

 

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 a text value into binary value using an encoding.

Text.ToBinary(text as nullable text,  optional encoding as nullable number,  optional includeByteOrderMark as nullable logical) as nullable binary  

ArgumentDescription
textValue to encode.
optional encodingEncoding option to apply.
optional includeByteOrderMarkSpecify handling of byte order marks
Show: