Text.ToBinary is a Power Query M function that encodes a text value into a binary value using a specified encoding. The function returns the binary value resulting from the encoding process.
Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365
Syntax
Text.ToBinary(
text as nullable text,
optional encoding as nullable number,
optional includeByteOrderMark as nullable logical,
) as nullable binary
Description
Encodes the given text value, text
, into a binary value using the specified encoding
.
Related functions
Other functions related to Text.ToBinary are:
