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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
toy
Advocate I
Advocate I

embedded content justify in frame

does anyone know how to left justify the content in the embedded iframe to the left

right now it comes back as centered

and i dont see anything in the embed doc that has this setting

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details#settings

 

 

1 ACCEPTED SOLUTION

i just wanted to get back to you (or anyone reading) on this

 

the custom layout was seriously complicated

and to get our one tweak in - (which i think should be a simple setting)

we had to format the whole thing

which in the end we gave up

 

we ended up just making the report full page

which hacked the need for justification

 

 

View solution in original post

2 REPLIES 2
v-micsh-msft
Microsoft Employee
Microsoft Employee

Have you checked the custom Layout option?

Custom Layout

"

  • pageSize : use page size to control the canvas area size (i.e. report white area).
  • displayOptions: possible values are: FitToWidth, FitToPage or ActualSize. It controls how to scale the canvas to fit into the iframe.
  • pagesLayout: It controls the layout for each visual. see PagesLayout for more details.

"

Take a try to set the DisplayOptions to FitToPage.

 

Regards,

Michael

i just wanted to get back to you (or anyone reading) on this

 

the custom layout was seriously complicated

and to get our one tweak in - (which i think should be a simple setting)

we had to format the whole thing

which in the end we gave up

 

we ended up just making the report full page

which hacked the need for justification

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.