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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Employee
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
Employee
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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.