Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Effectively, is there any way to dictate the opening page of an embedded report outside of publishing it that way?
Solved! Go to Solution.
Ok, I found the API js element but am unclear on where to insert it...
https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/configure-report-settings#default-p...
Hi @nckpedersen ,
There are two ways to do so with the Power BI JavaScript API.
You can change the settings in the embed configuration object and set the default page by specifying the page name.
var embedConfig = {
...
pageName: 'ReportSection3'
};
You can also use the setPage method to set the active page of the report.
report.setPage("page2")
.catch(error => { ... });
You can also add &pageName=YourPageName to the embed URL to set the default page, i.e. https://app.powerbi.com/view?r=XXXXXXXXXXXXXXX&pageName=YourPageName
Refer to:
https://stackoverflow.com/questions/42774398/how-to-set-default-page-in-power-bi-embedded-report
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ok, I found the API js element but am unclear on where to insert it...
https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/configure-report-settings#default-p...
Hi @nckpedersen ,
There are two ways to do so with the Power BI JavaScript API.
You can change the settings in the embed configuration object and set the default page by specifying the page name.
var embedConfig = {
...
pageName: 'ReportSection3'
};
You can also use the setPage method to set the active page of the report.
report.setPage("page2")
.catch(error => { ... });
You can also add &pageName=YourPageName to the embed URL to set the default page, i.e. https://app.powerbi.com/view?r=XXXXXXXXXXXXXXX&pageName=YourPageName
Refer to:
https://stackoverflow.com/questions/42774398/how-to-set-default-page-in-power-bi-embedded-report
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.