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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
llaprosper
Frequent Visitor

Url with special characters is not accepted

Hi,

 

can you tell me how to pass the following URL with {}?

 

 

 

Hyperlink = IF (table[xxxxxxxxxxxxx]<>","https://Server/wm/app-ServiceDesk/search-page/093f9348-369c/filter/248dd595-01be-6d6e-65f7?view-options={"objectId":"2b1d-8da2e737ee4","dialogId":"&Ticketing[UsedInTypeTicket]&","archived":"0","type":"Ticket","viewType":"edit"}

 

 

 

1.png
view-options={"objectId":"dece4bc1-a36a-cf67-2b1d-08da2e737ee4","dialogId":"&Ticketing[UsedInTypeSPSActivityTypeServiceRequest]&","archived":"0","type":"SPSActivityTypeServiceRequest","viewType":"edit"}")
Powerbi somehow does not want to accept these sections
How can I mark that the everything is an URL?
 
Thanks a lot
1 ACCEPTED SOLUTION

This works:

"https://Server/50984803-48ff-e611-e282-7824af3d4067/nofilter/?view-options={""archived"":""0"",""objectId"":"""&Ticketing[UsedInType]&""",""type"":""Type"",""viewType"":""preview""}"

View solution in original post

4 REPLIES 4
iabarraganc
Helper I
Helper I

Hi @llaprosper 

Look this

iabarraganc_0-1652893127334.png

This is dax formule

==============

test =
VAR doble_quote = TRIM ( " "" " )
VAR url_start = "https://webserver/" & doble_quote & "[parameter]" & doble_quote
RETURN
url_start

==========

iabarraganc
Helper I
Helper I

Hi @llaprosper 
Tries to replace the double quotation mark with three double quotation marks.
" --> """

This works:

"https://Server/50984803-48ff-e611-e282-7824af3d4067/nofilter/?view-options={""archived"":""0"",""objectId"":"""&Ticketing[UsedInType]&""",""type"":""Type"",""viewType"":""preview""}"

Nope, it doesn't work

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors