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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.