Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
owend
Frequent Visitor

Change default page dimensions with .json theme.

Is it currently possible to change the default width & height of a report page using a .json theme? There are attributes such as pageSizeWidth in the schema, but they do not seem affect the report. I have tried the following:

 

"visualStyles": {
       
"page": {
                "pageSize": [
                    {
                        "pageSizeTypes": "Custom"
                    },
                    {
                        "pageSizeWidth": 2560
                    },
                    {
                        "pageSizeHeight": 1440
                    }
                ],

 

The use case is that themes may contain different default font sizes & other visual attributes that do not work well with the default page dimensions. And so it would be helpful if default page dimensions can also be provided by the theme file. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @owend 

You can use json to change the background  or outspace of the page. However, if you want to change the page size through json, it may not be possible, it is not currently supported, you can refer to the following link .

Solved: Set default size of visuals in custom theme file - Microsoft Power BI Community

Solved: Setting the page size in theme - Microsoft Power BI Community

Power BI Custom Theme example - Import json file theme - Power BI Docs

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @owend 

You can use json to change the background  or outspace of the page. However, if you want to change the page size through json, it may not be possible, it is not currently supported, you can refer to the following link .

Solved: Set default size of visuals in custom theme file - Microsoft Power BI Community

Solved: Setting the page size in theme - Microsoft Power BI Community

Power BI Custom Theme example - Import json file theme - Power BI Docs

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors