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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
shaunguyver
Helper III
Helper III

Remove grey background in Power BI iframe

I have published my report to web, and embedded it as an iframe in a website.

 

I am unable to set the background of the iframe to either transparent, or white. Instead, the standard PowerBI grey background surrounds the iframe, making it look a little less than ideal.

 

Is there any way around this?

 

Thanks all in advance 🙂

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@shaunguyver

Change the Wallpaper setting as necessary on each Page you are publishing! Smiley Happy

 

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

Can you post a picture of what you are seeing? Here is what I am seeing using this code:

 

<html>
<head></head>
<body>
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiNTc0YjZlZmMtOTUzMC00OWRiLWFjZTYtMmU0ZmQ1MGFhNDFlIiwidCI6IjRhMDQyNzQzLTM3M2EtNDNkMi04MjdiLTAwM2Y0YzdiYTFlNSIsImMiOjN9" height="500" width="500"></iframe>
</body>
</html>

 

 

image.png


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Sure, please see screenshot below. Code is:

 

<iframe width="1250" height="880" src="https://app.powerbi.com/view?r=eyJrIjoiNzM0YWU2MjgtYTNlNC00MTJmLWJmYzAtMTlkMWJkNzE1OGZkIiwidCI6Ijg1MGI4NjhiLTUyNjAtNDE4NC05NzczLTI1NDc1MDMyZDViMCJ9" frameborder="0" allowfullscreen="true"></iframe>

 

screenshot.png

Sean
Community Champion
Community Champion

@shaunguyver

Change the Wallpaper setting as necessary on each Page you are publishing! Smiley Happy

 

Very strange, I don't get that with my file:

 

<html>
<head></head>
<body>
<iframe width="1230" height="880" src="https://app.powerbi.com/view?r=eyJrIjoiNTc0YjZlZmMtOTUzMC00OWRiLWFjZTYtMmU0ZmQ1MGFhNDFlIiwidCI6IjRhM..." frameborder="0" allowfullscreen="true"></iframe>
</body>
</html>

 

 

What version of Power BI Desktop are you on? Are you on the version that lets you set your canvas color/background? I think it was August?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors