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

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

Reply
nckpedersen
Helper I
Helper I

Can I apply url query parameters to an app-owns-data embedded report?

Effectively, is there any way to dictate the opening page of an embedded report outside of publishing it that way?

2 ACCEPTED SOLUTIONS
nckpedersen
Helper I
Helper I

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.

View solution in original post

3 REPLIES 3
nckpedersen
Helper I
Helper I

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! 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors