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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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