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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
PowerBIUserHoop
Frequent Visitor

Removal of white space around report in Browser

Hi,

 

I am trying to create a POWER BI report in a browser which will occupy the whol browser window.

 

currently there is lost of space either side of the report content, can this be removed? 

 

my config is as follows:

 

 

 

 

reportLoadConfig = {
type: "report",
tokenType: models.TokenType.Embed,
accessToken: embedParams.EmbedToken.Token,
// You can embed different reports as per your need
embedUrl: embedParams.EmbedReport[0].EmbedUrl,

// Enable this setting to remove gray shoulders from embedded report
settings: {
filterPaneEnabled: ReportInforMation.filterPaneEnabled,//false,// getreportInforMation.filterPaneEnabled,
navContentPaneEnabled: ReportInforMation.navContentPaneEnabled//false,// getreportInforMation.navContentPaneEnabled,

}
};

 

 

 

The page section is set to be a width of 100%, but there is a gap either side of the report seen below. 

 

is there something which can be added to the above configuration to remove the unused space (highlighted in yellow below)?

 

Many thanks in advance pbiSpace.png

 

1 ACCEPTED SOLUTION

Hi, 

 

Thanks for the reply.

 

I think this should be possible using CSS to control the height and width of the 'report-container'

 height: 100vh; /* For 100% screen height */
    width:  100vw; /* For 100% screen width */

a variation on the above should work.

 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Make sure this is an actual problem with your report users. Default monitors still have a 16:9 ratio.

Hi, 

 

Thanks for the reply.

 

I think this should be possible using CSS to control the height and width of the 'report-container'

 height: 100vh; /* For 100% screen height */
    width:  100vw; /* For 100% screen width */

a variation on the above should work.

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors