cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amty63
Helper III
Helper III

set background image for all the pages in a report (PBIX) file at one go.

I have 30 pages in the report. Need to set background image for all the pages. Is there any solution to do in one go.

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @amty63 ,

 

You can customize Power BI Theme, see more details: Custom Power BI Themes: Page Background Images , Use Report Themes in Power BI Desktop.

77.png

 

Best Regards,

Amy

 

Community Support Team _ Amy

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

View solution in original post

9 REPLIES 9
adampope
Frequent Visitor

@Tahreem24, it's not just Power BI that can't access your image at:

C:\A folder\Another Folder\ExampleBackground.png  

 

Maybe try a web-based location instead, and put the full path to the image in the url element?

 

There's a page here that offers a similar solution to the above, by the way.

v-xicai
Community Support
Community Support

Hi @amty63 ,

 

You can customize Power BI Theme, see more details: Custom Power BI Themes: Page Background Images , Use Report Themes in Power BI Desktop.

77.png

 

Best Regards,

Amy

 

Community Support Team _ Amy

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

View solution in original post

Anonymous
Not applicable

The link for this solution goes to a page that has been taken down. 

Could someone please post the solution here if they know how to do it. 

Hi Marzipanly,

 

Yes, you can go to view option in Power BI desktop and customise themes or use theme gallery as well. I am attaching the screenshot.

amty63_0-1595505534537.png

Hope this post helps you.

Anonymous
Not applicable

@amty63 

 

Thanks for the reply. Using Customize themes I can change the colour of the background on all pages, but I can't add an image. It As far as I can tell, if you want to change the image background then you need to edit the theme's .json file, but I can't figure out the right format to use for specifying the image. 

 

Marzipanly_0-1600689523769.png

 

Marzipanly_1-1600689545594.png

 

Tahreem24
Super User
Super User

@amty63 ,

 

Give a try by importing JSON file which include background image in PBIX file.

 

Don't forget to hit Thumbs up and accept this as a solution if you find it helpful! 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , and Fortune 500 Companies Analysis

@amty63 ,

Below is the JSON code I got for background image:

{
               "name": "Page Background Image",
               "visualStyles": {
                        "page": {
                              "*": {
                                      "background": [
                                               {
                                                  "image": {
                                                         "name": "Background",
                                                         "scaling": "Fit",
                                                         "url": "xxxxx"
                                                },
                                                "transparency": 0
                                       }
                                  ]
                           }
                    }
           }
}

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , and Fortune 500 Companies Analysis

Thank you so much, it works. Sorry, that the autor of this post didn't chacked your answer as Solution.

Anonymous
Not applicable

@Tahreem24 

 

What format/structure do we need to use for the URL and name of the image? Could you please complete with a full example of an image on one's local drive. 

 

I've tried the following but it doesn't work: 

 

{
               "name": "Page Background Image",
               "visualStyles": {
                        "page": {
                              "*": {
                                      "background": [
                                               {
                                                  "image": {
                                                         "name": "ExampleBackground.png",
                                                         "scaling": "Fit",
                                                         "url": "C:\A folder\Another Folder\"
                                                },
                                                "transparency": 0
                                       }
                                  ]
                           }
                    }
           }
}

 

Thanks

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors