Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear PBI Community,
I tried to decode the URI as below, but i got the error
As i know PowerBi dont have this function UriUnescapeDataString.
Kindly help me.
Solved! Go to Solution.
Hi @Anonymous
You can use Uri.Parts to decode a Uri part. There is an example in the previous link.
You can convert above code to create a custom function like below and name it as UriUnescapeDataString. Create a blank query and open its Advanced Editor. Paste the following code there.
(data as text) as text =>
let
DecodedText = Uri.Parts("http://contoso?a=" & data)[Query][a]
in
DecodedText
Then invoke this custom function in other queries just like using built-in functions.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @Anonymous
You can use Uri.Parts to decode a Uri part. There is an example in the previous link.
You can convert above code to create a custom function like below and name it as UriUnescapeDataString. Create a blank query and open its Advanced Editor. Paste the following code there.
(data as text) as text =>
let
DecodedText = Uri.Parts("http://contoso?a=" & data)[Query][a]
in
DecodedText
Then invoke this custom function in other queries just like using built-in functions.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Yeahh, thank you.
@Anonymous , You have a few in power query
https://docs.microsoft.com/en-us/powerquery-m/uri-functions
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 40 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 61 | |
| 45 |