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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
idelix
Frequent Visitor

Change default share button link on published to web reports

I need to change default share link on reports which were published using "publish to web option" currently it points to link "https://app.powerbi.com/view?..." I want to change it to my website link "https://www.mywebsite.com"

 

I know it is possible as it was achiveed on this website here https://covid19.ucy.ac.cy/ if you click on share button it will try to share website "https://covid19.ucy.ac.cy/" and not "https://app.powerbi.com/view?..."

 

So the question is how they done it ?

2 REPLIES 2
agnes_ee
Frequent Visitor

You can add referrerpolicy Attribute to the iframe: https://www.w3schools.com/tags/att_iframe_referrerpolicy.asp.

 

For example, to link exact url of the page you can use “same-origin” like this:

 

<iframe referrerpolicy="same-origin" width="600" height="373.5" src="https://..." frameborder="0" allowFullScreen="true"></iframe>

v-easonf-msft
Community Support
Community Support

Hi, @idelix 

Its original report sharing link is as follows:

https://app.powerbi.com/view?r=eyJrIjoiM2MxY2RkMTQtOTA3Mi00MDIxLWE1NDktZjlmYTdlNDg0MTdkIiwidCI6IjhkZ...

 

It seems that you also need to use iframe code to embed Power BI into your own web page.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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