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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
TCavins
Helper V
Helper V

Report Size for Website? Example with link

I am working on creating a report for our external website and I'm struggling coming up with decent dimensions of the report.

 

The state of Michigan has a report at https://www.michigan.gov/coronavirus/0,9753,7-406-98163_98173---,00.html that I like the size of. I've determined the iFrame to have a height of 700 and the width is set to 100%. 

 

Is there a way to determine the height and width of the report used? Does it matter what I set the report up as and just publish it as "Fit to Page"? I like like the size of the link above and that it resizes with the page and I'm not sure how to set that up within the Desktop Designer as I'm creating my own reports.

 

Any help/ideas?

1 ACCEPTED SOLUTION

Hi , @TCavins 

I can only find some information about  iFrame settings here ( pressing F12 on a web page  to see more details ).

With the link you currently provide,It is difficult to determine what the original size of the report was .

 

86.png

 

You may check if these documents help.

Apply page display settings in a Power BI report

Change the display of a report page

Tips for iFrame height and width

 

 

Best Regards,
Community Support Team _ Eason

View solution in original post

3 REPLIES 3
parry2k
Super User
Super User

@TCavins 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

 

something like this

 

<iframe width="800" height="600" src="https://app.powerbi.com/view?r=zMDYxLTc1ODItNGU0Mi04MTcyLWQ4MTM5ZTJiNTUzOCJ9" frameborder="0" allowFullScreen="true"></iframe>

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Yes, I understand the iFrame settings. My question is how does the design size get affected by the iFrame? If I create a 16:9 and publish it with a default Fit to Page and then publish to web in an iFrame with a height of 700 and 100% width, what happens? How is it displayed?

 

Will the Fit to Page adjust to the iFrame? I've noticed when publishing from the desktop, whatever view I'm in (Fit to Page, Fit to Width etc) is what the default view is in the workspace/app. 

 

More so, is there a way on the link I provided to determine what the original size of the report was?

Hi , @TCavins 

I can only find some information about  iFrame settings here ( pressing F12 on a web page  to see more details ).

With the link you currently provide,It is difficult to determine what the original size of the report was .

 

86.png

 

You may check if these documents help.

Apply page display settings in a Power BI report

Change the display of a report page

Tips for iFrame height and width

 

 

Best Regards,
Community Support Team _ Eason

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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