Text.ToBinary

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.

Other functions related to Text.ToBinary are:

BI Gorilla Youtube Channel

Last update: August 17, 2023 | Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/text-tobinary
© 2023 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.