Forum Discussion

ngrimsh's avatar
ngrimsh
Frequent Visitor
8 years ago

HTML viewer

Hello,

 

I am trying to use the HTMLViewer visualisation in one of my reports.   Has anyone been able to get hyperlinks to open in a new tab (or window) when clicking on them?  For example, if I include something like <a href="http://www.google.com" target="_blank">Goto Google</a> it is properly formated in the visualisation but when you click on it, nothing happens.

 

Thanks,

 

Nick

8 Replies

  • v-huizhn-msft's avatar
    v-huizhn-msft
    Microsoft Employee

    Hi ngrimsh,

    It's a custom visual, you can post comments below the blog in this page, and get professional support.

    Best Regards,
    Angelia

      • v-huizhn-msft's avatar
        v-huizhn-msft
        Microsoft Employee

        Hi ngrimsh,

        Got it. Welcome to share the workaround if you have resolved your issue. And more people will benefit from here.

        Best Regards,
        Angelia

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hyperlinks work as long as you hold CTRL when you click and it only works when published

  • Hey Nick,

     

    I am trying to do the same thing. We are using the Azure Analysis Services and we have columns with URL's but Power BI doesn't allow you to change the Datatype of a column to a web URL when using AAS, Our thought to be the work around for this was to use anchor tags and to throw it in to the HTML Viewer visual but, like you said, that doesn't work.

     

    Thanks,

     

    Kian

  • DipanjanGanguly's avatar
    DipanjanGanguly
    Microsoft Employee

    Hi ,

     

    I am also facing same problem. By pressing ctrl too , it is not working as expected. Then we need to copy the link and paste it in another tab to open.

     

    Do you have any solution for this ?

     

    Thanks in advacnce.

     

     

    Regards,

    Dipanjan

  • Anonymous's avatar
    Anonymous
    Not applicable

    In the Visualization section, under the middle tab "Format your visual", make sure under "Content formatting", "Allowing opening URLs" is selected. 

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    In the Visualization section, under the middle tab "Format your visual", make sure under "Content formatting", "Allowing opening URLs" is selected.