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
kolousekjan
Frequent Visitor

Power BI Embedded background alignment

Hello,

 

I'm encountering an unusual issue. I built a report in Power BI Desktop, published it, and embedded it on a website using Power BI Embedded.

On the website, the background aligns to the right side of the page, but all data is centered. In both Power BI Desktop and Service, everything is aligned correctly (center), but in the embedded view, it’s not.

PBI Service

service.png

PBI Embedded

embedded.png

 

Do you have any advice on what might be causing this?

Thank you!

2 REPLIES 2
Anonymous
Not applicable

Hi @kolousekjan ,

 

According to your statement, I think you are trying to embed the report to your website.

Here please check what format your background is in and check the parameter data within the frame, this issue may be related to the website parameter configuration.
I would suggest to check the setting of style for each parameter in the framework in website, please check if this setting is globally overridden.

 

Best Regards,
Rico Zhou

 

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

Thank you for your response, Rico.

It seems that the issue lies in the width setting of an element with the class .displayArea. Currently, this style is applied with width: 100% !important, which affects the alignment of the Power BI report on the page. When I remove the !important, the alignment works correctly.

However, I am unable to determine where exactly this priority (!important) is set within Power BI or the embedding framework. I would like to know if it’s possible to adjust this value directly in the Power BI embed configuration or if it originates from a library used on the page.

Could you advise on how to identify the source of this setting or where I might be able to adjust its priority?

Thank you for your help!

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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