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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
andreasz93
Frequent Visitor

open hyperlink in new tab-HTML

Hello,

I am using HTML code in ParaHTMLViewer or HTML content visual and I want when the user clicks on the item to open a new tab in the browser.

The code that I use is a bit more complicated than the one below but neither works in Power BI Service.

When the user press Ctrl + Left click or Right Click > Open link in new tab it works fine, but I would also like to give the option of left clicking once and still works.

 

Clickable_Report = 
"<a href='" & SELECTEDVALUE(DIM_REPORTS_BI[REPORT_URL]) & 
"' target='_blank'>" & SELECTEDVALUE(DIM_REPORTS_BI[REPORT_NAME]) & "</a>"

 


I would appreciate if anyone could assist on that.

 

Thank you! 

1 ACCEPTED SOLUTION
andreasz93
Frequent Visitor

I have found the solution. It was a simple one. I used HTML Content and then on the Behaviour settings > Allow opening URLs.

 

View solution in original post

3 REPLIES 3
deepakyadav
Microsoft Employee
Microsoft Employee
andreasz93
Frequent Visitor

I have found the solution. It was a simple one. I used HTML Content and then on the Behaviour settings > Allow opening URLs.

 

Poojara_D12
Super User
Super User

Hi @andreasz93 

Power BI Service restricts certain HTML behaviors, including opening links in a new tab with a single left-click. While your code with target='_blank' should work in some cases, Power BI may block this behavior for security reasons. There's no straightforward way to force this in Power BI Service. A workaround could be guiding users to right-click and select "Open link in new tab," or embedding reports in an iframe for more control.

 

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.