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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

power bi embedded : remove extra padding on the left and right

1.How to remove the left and right padding/margin ? (We would like to embedded report occupy 100% width of the page.)

2.How to change the background color of the embedded report? 

 

EmbedLeftandRightMargin.PNG

11 REPLIES 11
Anonymous
Not applicable

jpthirumalai_0-1594180155813.png

Hope this helps !

anas_ztw
Frequent Visitor

Any updates on this case?

 

I'm having same issue. I need the embdded report to occupy the full html host page size with very minmal margin regardless the resolution, remove left and right padding/margin or at leaset ability to change the gray back color to custom color.

 

Anonymous
Not applicable

Nope, still looking for a right solution. I hope someone from Power BI team will respond.

Anonymous
Not applicable

Hi @Anonymous,


#1. Current power bi not support remove left and right padding/margin.

#2. You can modify backcolor at Format tab -> Background.

4.PNG

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Thank you. The left and right margins are huge. I was not clear on my question. 

We would like to change the background of the power bi container. Since we can not change the left or right margin, we would like to change the continaers background color to match with our report or dashboard background color.

Anonymous
Not applicable

Our report page background is #f1f1f1 but the power bi div container has another grey color. we would like to match this.

Anonymous
Not applicable

Hi @Anonymous,

 

>>Our report page background is #f1f1f1 but the power bi div container has another grey color. we would like to match this.

Do you means the tile backcolor? If this is a case, current tiles not support backcolor feature.

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Embedded container border 

Anonymous
Not applicable

We want the embdded report or dashboard occupy the full html host page size with very minmal margin.

Any update to this issue? There appears to be no way to change properties of the embedded iframe like background color or border?

I have the same issue. The gray color comes from the Power BI CSS file and it is not controlled by user. It's automatically set at #eaeaea or gray color. This is very annoying. I have report that has white background, which looks fine in Power BI, but when embedded, Power BI service added this gray margin that cannot be removed. 

 

Please fix it!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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