Embedding Power BI reports into Webpages- Part 2 - CloudFronts

Embedding Power BI reports into Webpages- Part 2

In this blog we going to Set which page to open when the Power BI report is embedded

We can do the customization in the embed code as per requirement for the page loading.

  1. We have to open the report and click on each page and note down the URL to get page name

So report page names are,
Team Scorecard: ReportSection2
Industry Margin Analysis: ReportSection
Executive Scorecard: ReportSection1

2. We have to append the code &pageName=ReportPageTabName to the URL
3. We can do change in the URL for all report pages, embed in the webpage,below is HTML and JavaScript code for doing customization

4. When we open this page in web browser it will look like,

when we click on any button to load report it will be loaded or we can set the default report page to load when the webpage is opened.

5. When we click first button i.e. Team Scorecard first page of the report will load

Similarly for other pages,

In this way we can embed Power BI report in webpages and do customization.

Share Story :