Forum Discussion

jonharding's avatar
jonharding
Advocate II
8 years ago
Solved

Embedded Dashboard Click-Through not Working

We are embedding dashboards from a workspace into an application that our external customers use.  However, the click-through functionality (i.e. click on a tile on the dashboard to go to the source report) doesn't work when the dashboard is embedded in an iFrame.

 

Is there a way for the dashboard to behave the same in an embedded scenario as it does natively on powerbi.com?

  • Hi jonharding,

     

    To implement the click-through functionality, you may need to handle the tileClicked event(PowerBI-JavaScript)  which will be raised when end user clicks a tile on a embedded dashboard, and redirect to the related report. For more details you can refer to handling event in PowerBI-JavaScript api. :smileyhappy:

    tileClicked
           Raised when end user clicks a tile. event properties are:
               tileId: id of clicked tile.
               reportEmbedUrl: Embed Url of the original report the tile created from (if any)
               pageName: name of the page the tile created from (if any)
               navigationUrl: Url which will be opened in powerbi.com if user clicks a tile.

     

    Regards

1 Reply

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

    Hi jonharding,

     

    To implement the click-through functionality, you may need to handle the tileClicked event(PowerBI-JavaScript)  which will be raised when end user clicks a tile on a embedded dashboard, and redirect to the related report. For more details you can refer to handling event in PowerBI-JavaScript api. :smileyhappy:

    tileClicked
           Raised when end user clicks a tile. event properties are:
               tileId: id of clicked tile.
               reportEmbedUrl: Embed Url of the original report the tile created from (if any)
               pageName: name of the page the tile created from (if any)
               navigationUrl: Url which will be opened in powerbi.com if user clicks a tile.

     

    Regards