Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
hakjanne
New Member

Encode text to Base64 format using DAX

Hello,

 

I want to build button in my report that directs to URL. URL should be dynamic (so it is fixed with filters in the report) and formatted in Base64 because of "[" and "]" characters.

I found lot of instructions how to change it in PowerQuery but can that be dynamic then as I want?

 

 

Dynamic URL = 
ENCODETOURL(
"https://XXXXXXXOrders
=" &
CONCATENATEX(OrderTable, OrderTable[Order], ","
)
   

 

Thank you in advance,

Janne

3 REPLIES 3
lbendlin
Super User
Super User

why Base64 and not standard URL encoding / escaping?  

My bad, actually stardard URL encoding is what I need 🙂

Please provide a sample URL that you want encoded. Note that not all characters need to be encoded - it depends on the structure of the URL (sometimes they contain embedded URLs etc)

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.