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
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
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.