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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ChristoherMuehl
Frequent Visitor

PowerBi Embedded Open WebUrl in same Tab

Hi community,

 

I have an web application with an ambedded PowerBI report.

The report has an table which includs an web url.

If I click on this web url, the browser opens a new tab and redirect to the url.

 

Is there an option, that the url will be open in the same browser tab?

 

Thank you in advance!

 

Best regards,

Christopher

1 ACCEPTED SOLUTION
tmeag
Frequent Visitor

Short answer: no, it's not possible. 

 

Full version: Power BI embeds links with the target="_blank", which means that all links will be opened in a new tab. When you embed your report, you see it in an iFrame and first solution you think about is to overwrite all "target" parameters in "<a>" tags in that iFrame using javascript. But since the iFrame sits in a sandbox, the browser will not allow you to do so because of the CORS policy (the domain of your app where you embed the report is not the same as "app.powerbi.com"). 

 

Hope I have described the situation clearly enough. 

 

Kind regards

View solution in original post

4 REPLIES 4
AliceW
Impactful Individual
Impactful Individual

Does anyone know if a solution has been created?

tmeag
Frequent Visitor

Short answer: no, it's not possible. 

 

Full version: Power BI embeds links with the target="_blank", which means that all links will be opened in a new tab. When you embed your report, you see it in an iFrame and first solution you think about is to overwrite all "target" parameters in "<a>" tags in that iFrame using javascript. But since the iFrame sits in a sandbox, the browser will not allow you to do so because of the CORS policy (the domain of your app where you embed the report is not the same as "app.powerbi.com"). 

 

Hope I have described the situation clearly enough. 

 

Kind regards

This is not a solution to the problem.  Marking this as resolved is not accurrate.

Thank, i did think this might be the case, but wondered if there had been any updates on this since the last posting. 

 

Thank you for the response.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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