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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi i am looking for a way to encode a guid into base64
663e6ca3-31cd-4886-a90a-21a6ed8a =>
Zj5sozHNSIapCiGm7YqJbQ==
Tool: GUID Converter - Tool Slick
In code this would look like this:
$guid = "663e6ca3-31cd-4886-a90a-21a6ed8a" $base64 = [system.convert]::ToBase64String(([GUID]($guid)).ToByteArray()) $base64 |
Please see if the approach used in this article works for you.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
I tried the same - problem is it doesnt use the GUID as HEX value but just converts the string. Which result do you get.
Not sure where you got your result from but here's a Power Query version.
let
Source = Table.FromRows({{"663e6ca3-31cd-4886-a90a-21a6ed8a"}},{"GUID"}),
#"Added Custom" = Table.AddColumn(Source, "Base64", each Binary.ToText(Text.ToBinary([GUID],BinaryEncoding.Base64)))
in
#"Added Custom"
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |