Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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?
Solved! Go to Solution.
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:
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
}
Thank you so much for the response, I did it and worked perfectly!
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
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
1. Fix page size
Frankly, a height of 5000px is not considered a good UI in Power BI.
Best practice is:
2. Use bookmarks + navigation
Break your long page into sections:
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:
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
}
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.