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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
yndio
Frequent Visitor

Rest API Tile in webapp does not navigate to underlying report when click

Hello,

I've succesfully loaded tiles on my website using the rest API.

I thought that the tiles would behave the same way they do in Power BI portal. But my tiles don't navigate to reports when cliking on them.

Is that the normal behaivour when using the API or do I have an error in my app?

Thanks,

Pablo

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@yndio

 

The tiles' navigation to reports when clicking is in DASHBOARD, while so far only Embedding TILES and REPORTS is supported.

 

You could check this idea Allow PowerBI dashboards to be embedded via iframe and vote it up.

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@yndio

 

The tiles' navigation to reports when clicking is in DASHBOARD, while so far only Embedding TILES and REPORTS is supported.

 

You could check this idea Allow PowerBI dashboards to be embedded via iframe and vote it up.

I'm afraid this won't work in Power BI Embedded scenario... You just CANNOT integrate a dashboard in an iframe, then click on any dashboard tile and expect to be relocated automatically to corresponding report (and section). One thing you can do however is get informations from the tile clicked event and use the (embeddedReporUrl+reportId) to load the corresponding report in same iframe. Once you're at the report level in the iframe, it's easy to navigate through pages. I use bookmarks. However it is NOT possible to navigate back to main dashboard at this stage. (even with javascript.history.back (-1)... In this case, you'd probably need to define variables (embeddedDashboardUrl + dasboardId) on dashboard 1st load and call it back whenever needed from a button outside the iframe..,Perhaps the best scenario would be being able to generate a similar navigation menu as in Power BI app and then being able to put the same Power BI app in an iframe but I'mean afraid we're just not there yet...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.