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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.