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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
JimGAR
Regular Visitor

HTML Content for PowerBI: Linking

Hi. I have the HTML Content app displaying my HTML page in PowerBI. The issue I have is I created an anchor tag on one paragraph and a button (<a> and a separate <button> tag to test which worked). The navigation is only within the current HTML page in the visual. I'm not linking outside of the HTML page ... just within it.

 

The <a> nor the <button> works to navigation within the page. I thought the app did this and only had issues if linking to anything outside of the current HTML page.

 

Has anyone had the same issue?  What can I do to solve this issue?

 

Thank you for your advice and help.

 

Jim

3 REPLIES 3
ichavarria
Solution Specialist
Solution Specialist

Hi @JimGAR,

 

It's possible that the issue you're experiencing is related to how the HTML Content app is rendering your HTML page. Here are a few things you can try to solve this issue:

 

  1. Check your HTML code: Make sure that your <a> and <button> tags are properly formatted and that their href attributes are pointing to the correct location within the HTML page. You can also try adding an id attribute to the element you want to navigate to, and using that id in the href attribute.

  2. Use Javascript&colon; If the HTML Content app is not working as expected, you can try using JavaScript to handle the navigation within the HTML page. You can add a click event listener to your <a> or <button> element, and use JavaScript to navigate to the correct location within the HTML page.

 

I hope this helps! Let me know if you have any further questions.

 

Best regards, 

Isaac Chavarria

If this post helps, then please consider Accepting it as the solution and give Kudos to help the other members find it more quickly

Thanks, Issac. I'll try your suggestions.  Also, I do not see WebView2 on the visuals store. Is it another name?

ichavarria
Solution Specialist
Solution Specialist

Just corrected my reply! 

Thanks 

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.