Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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?
Solved! Go to Solution.
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. ![]()
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
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. ![]()
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |