Text.FromBinary
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.
Decodes data from a binary value in to a text value using an encoding.
Text.FromBinary(binary as nullable binary, optional encoding as nullable number) as nullable text
| Argument | Description |
|---|---|
| binary | The value to decode. |
| optional encoding | Encoding option to apply. |
Text encoding
TextEncoding.Utf8 = 65001;
TextEncoding.Utf16 = 1200;
TextEncoding.Ascii = 20127;
TextEncoding.Unicode = 1200;
TextEncoding.BigEndianUnicode = 1201,
TextEncoding.Windows = 1252;
Show: