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
Anonymous
Not applicable

Power BI Embedded relative url redirection

Hi,

 

    I wan't redirect to a url on link click in in the table. The problem is the url is a relative url. is this possible in power bi embedded.

 

Thanks,

Joe

 

3 REPLIES 3
Icey
Community Support
Community Support

Hi @Anonymous ,

 

I'm not sure.

However, you can enter the first half of the absolute address, and then create a Measure to concatenate the half and the relative url.

For example:

url2.PNGurl.PNG

 

URL Measure = MAX('absolute'[absolute]) & MAX('relative'[relative])

 url3.PNG

If I understand it wrong, please let me know.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks for you reply Icey.

 

Actually I'm using powerbi embedded. So I want to redirect the user to a particular url in the site. This site may have many different domains. 

 

example:

1. http://mycompany1.com

2. http://mycompany2.com

 

I give a relative url in the table like '/report/testreport?filter=Table/Column+eq+value'.

 

So when the user on site #1 click on the link it should redirect the user to 'http://mycompany1.com/report/testreport?filter=Table/Column+eq+value'

 

when the user on site #2 click on the link it should redirect the user to 'http://mycompany2.com/report/testreport?filter=Table/Column+eq+value'.

 

Thanks,

Joe

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Sorry to reply late.

For your question, the answer is No. Power BI doesn't support it.

I suggest you to try something like so:

 

1. Enter data.

relative.PNG

domain.PNG

 

2. Create a slicer with 'domain'[domain].

do.PNG

 

3. Create a measure and change the data category to "Web URL".

rel.PNG

 

domain.gif

 

Or, try to use Query Parameters.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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