Uri.EscapeDataString

Updated on

Uri.EscapeDataString is a Power Query M function that encodes special characters in the input data according to RFC 3986 rules. The function returns a properly encoded data string.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

Uri.EscapeDataString( data as text ) as text

Description

Encodes special characters in the input data according to the rules of RFC 3986.

Examples

Encode the special characters in “+money$”.

// Output: "%2Bmoney%24"
Uri.EscapeDataString( "+money$" )

Other functions related to Uri.EscapeDataString are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/uri-escapedatastring

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy