Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

iframe scaling issue

I am currently using PowerBI Premium and am embedding reports into my web application using an iFrame. When I am viewing reports at design time in the "Fit to page" option works great. When I embed these reports in an iFrame in my web app, it does not. Specifically it behaves as if it were set to "Fit to width".


I have read the following resources:


but none of these were helpful in resolving this issue.

New Member

Not sure if this would help but this tool helped me to get rid of grey areas

Hey There,

Was looking for this for quite a few days. Works like a charm. 


Thank you,


Hi @cyan


The suggestion by @fotomaxstudio would be the best option to get it to remove the white spaces at the end.

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Power BI Blog

Advocate I
Advocate I

I opened ticket 117072116076977 about this on July 24 and will keep this topic updated.  It is an ongoing production issue.


@cjemmott any updates on this issue? 

@GilbertQ You can check in the Microsoft embedded sample by resizing the page there is grey space at the height of the iframe meanwhile the width is adjusting normally. 

Thus it's not fulfilling the condition of "Fit to Page" view, any suggestions about a possible solution? 


Super User
Super User

Possibly a simple solution but have you specified the iFrame sizing for your application?

I have viewed some embedded applications and it did fit in as expected. (I did not create the embedded applications though)

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Power BI Blog

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors