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 this:


I know I can use the "fit to width" view but the problem is that the PBI doesn't save the zoom in and, every time someone needs to access the report, they need to fix the screen size manually and its terrible for user experience.

Is there a way to fix this so the user can se the report properly whenever accessing it, without doing the fixing manually or me having to change the PBI Desktop measures?

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

     

5 Replies

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

     

  • 1. Fix page size
    Frankly, a height of 5000px is not considered a good UI in Power BI.
    Best practice is:

    • Use standard sizes (e.g. 16:9 or ~1280x720 / 1600x900)
    • Split the report into multiple pages

     

    2. Use bookmarks + navigation
    Break your long page into sections:

    • Create multiple pages or “tabs”
    • Use buttons/bookmarks for navigation
      This gives a much better UX than scrolling
  • v-dineshya's avatar
    v-dineshya
    Community Support

    Hi LucasBW ,

    Thank you for reaching out to the Microsoft Community Forum.

     

    Hi cengizhanarslan  and OwenAuger ,Thank you for your prompt responses.

     

    Hi LucasBW  ,  could you please try the proposed solutions shared by cengizhanarslan  and OwenAuger  ? Let us know if you’re still facing the same issue we’ll be happy to assist you further.

     

    Regards,

    Dinesh

    • v-dineshya's avatar
      v-dineshya
      Community Support

      Hi LucasBW ,

      We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.

       

      Regards,

      Dinesh

  • LucasBW's avatar
    LucasBW
    Regular Visitor

    Thank you so much for the response, I did it and worked perfectly!