The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
Is it possible to change the "share URL" on a Power BI report that is embedded on a public website? currently the share URL displays the parent site but I would like it to display the site that the Power BI report is embedded on.
thanks,
Hector
Has anyone found a working solution for this?
You can add referrerpolicy Attribute to the iframe: https://www.w3schools.com/tags/att_iframe_referrerpolicy.asp.
To share the link of the child page the report is on use “no-referrer-when-downgrade” like this:
<iframe referrerpolicy="no-referrer-when-downgrade" width="600" height="373.5" src="https://..." frameborder="0" allowFullScreen="true"></iframe>
I added the referrerpolicy attribute with the no-referrer-when-downgrade value to the iframe and it did not change the share URL, although setting it to no-referrer takes the same link that the iframe uses as src
Has anyone found a solution to this? I am encountering the same issue with the share URL being trimmed to be just the domain of the site the report is embedded in. It's a WordPress site so I don't know if that is common with the issue encountered by @hhernandez27
If the report is accessed directly (i.e. not via the iFrame) the share links work fine, so it appears something is being passed through the iFrame to override the share URL
Is your URL on the embed report interface, right ?
If you are talking about this URL, that is it. This is the website where the Power BI report is located . This is the result after I opened the URL .
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you. yes that is the "share URL" i am talking about, which is on the embed report interface. However, the "share URL" on my embed report interface is https://www1.nyc.gov/ but my embed report is located at https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts. The "share URL" should be https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts and not https://www1.nyc.gov/ . see below. are you saying i cannot change the "share url" to https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts??
When you click share in report , you will see “copy link” in the "share URL" popup ,after you clicking “Copy link ”,you will see the share URL . This is provided directly by the Power BI Service, and there is no way to modify it
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Ailsa,
i think there might be some confusion. I dont mean the share URL to embed the report somewhere or the URL to share the report as you are thinking of. I mean the URL in the popup of the image below which is https://www1.nyc.gov/. I circled the URL I am speaking of in a red circle in the image below. Can I change https://www1.nyc.gov/ to https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts , which is the website of where the power BI report exists? thanks,
You cannot change the URL for the shared report . The URLs for the shared report and embedded report are also different .In Service , Sharing and embedding belong to two different functions .
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
There is still a bit of confusion here
The query is not about changing the share URL, it's that when a report is embedded (e.g. Publish to Web) the share buttons such as for Twitter and Facebook have a trimmed URL behind them. This is an issue for the end user, not anything in the Power BI Service
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
49 | |
21 | |
12 | |
11 | |
10 |
User | Count |
---|---|
120 | |
32 | |
28 | |
21 | |
20 |