Forum Discussion

cjemmott's avatar
cjemmott
Advocate IV
9 years ago

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 app.powerbi.com 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:

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-service-publish-to-web/#tips-and-tricks-for-view-modes

 

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-service-tutorial-change-report-display-settings/

 

but none of these were helpful in resolving this issue.

6 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hey There,

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

       

      Thank you,

      Nikhil 

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

  • 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)