Binary.FromText
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 text form into binary.
Binary.FromText (text as text, encoding as number) as Binary
| Argument | Description |
|---|---|
| text | The text to decode. |
| encoding | The encoding option to apply. |
Binary encoding
BinaryEncoding.Base64 = 0;
BinaryEncoding.Hex = 1;
Show: