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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-rongtiep-msft
Community Support
Community Support

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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