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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
iBusinessBI
Kudo Collector
Kudo Collector

Set Report view size via url parameters in the embedded report

I am using Report Embed url as a link to a specific page in my Workspace App.

I use url parameters to control some features, such as:

navContentPaneEnabled=false

I want also to control how the report is shown. By dealt, I've published it as "Actual Size"

But when embedding I would like to set it to "Fit to Width" by also using url parameter.

What parameter should I add?

2 REPLIES 2
Anonymous
Not applicable

Hi @iBusinessBI ,

You can surely set the page size in power bi desktop but these iframe parameters you use when you embed the report in the website

 

I can only find some information about  iFrame settings here.

vpollymsft_1-1657159136705.png

 

 

You may check if the document helps.

Publish to web from Power BI 

  • When you embed content within a blog post, you typically need to fit it within a specific screen size. You can adjust the height and the width in the iFrame tag as needed. However, you need to ensure your report fits within the given iFrame area, so set an appropriate View Mode when you're editing the report.
  • A Publish to web embed code looks like the following example:

    vpollymsft_3-1657159370695.png

    You can edit the width and height manually to ensure it's precisely how you want it to fit in the page where you're embedding it.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

No, this is not what I want.

I want to set the page size to one of the three pre-build sizes (as in the desktop):

- Fit to Page

- Fit to Width

- Actual Size

I guess we cannot do it with url parameters....

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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