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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
yndio
Frequent Visitor

Power BI API - Reports: How to display report with particular report section as selected

Hi All,

We are using Power BI API to display Power BI Report in an iFrame  and its working fine.

 

When clicking on a tile (‘tileClicked’ event),  we are getting a NavigationURL (like ‘https://app.powerbi.com/reports/0000xx14-x6xe-429f-x200-0x4cdd858xx4/ReportSection6’)

 

By using Power BI API reports, we are getting a list of reports and filtering for report id we received in NavigationURL so that now we can display reports in an iFrame, but report section is always going to first tab.

 

We need to redirect to a particular tab when clicking on a report. If there are six tabs in a report, we want to set the given ‘ReportSection6’ as highlighted when report is loaded.

 

jpbi.png

 

Is there is any way for that in Power BI API?

 

Thanks!

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@yndio,

 

You could set a default page when loading a report by using new JavaScript API. See Embed Configuration Details.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@yndio,

 

You could set a default page when loading a report by using new JavaScript API. See Embed Configuration Details.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

is there any way I could show a specific report section on Demand and Chnage dynamically on the fly?

I want to make the report dynamic on appplication!

Is there any way we can toggle between the Report sections programtically? 

I want my particular report section dispalyed on other events on the same application.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors