Forum Discussion

LucasBW's avatar
LucasBW
Regular Visitor
4 months ago
Solved

Report screen size when published

Hi guys,  I'm having a hard time with the sreen size of my published report. The dashboard has huge measures (height: 5000px Width 1800px) and, of course, when I publish it, the report looks like th...
  • OwenAuger's avatar
    4 months ago

    Hi LucasBW 

    Each report page's "display option" is saved as part of the report. By default, each page will be displayed according to the setting that was applied when the report was last published/saved.

     

    To make "Fit to width" the default for that particular page, edit the report either in Power BI Desktop or the Service, set that particular page to "Fit to width" and publish/save:

    • Desktop: View > Page view > Fit to width > Save & Republish
    • Service: Edit > View > Fit to width > Save

    If you save the report in PBIP format, you can verify the display option by inspecting the page.json files, which will look something like this with the "displayOption" attribute set:

    {
      "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/page/2.1.0/schema.json",
      "name": "6a639315e12369e073d9",
      "displayName": "PageName",
      "displayOption": "FitToWidth",
      "height": 5000,
      "width": 1800
    }