cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmjabr
New Member

Use different layout background image for each page in one report (PBIX) using JSON theme

I am trying to use different layout background images for each page in one report (PBIX) using JSON theme.
I have a 3-page report and I have two themes (light/dark) and I am using layout background images for each page and I need to be able to change the background images for each page in the report based on theme selection

 

I tried changing the * to "page name" after the page tag and duplicate this part for each page, but it did not work 

 

 

"page": {
            "*": {
                "outspace": [
                    {
                        "color": {
                            "solid": {
                                "color": "#3a3a3a"
                            }
                        }
                    }
                ],
                "background": [
                    {
                        "image": {
                            "name": "Background",
                            "scaling": "Fit",
                            "url": "base64 image string"
                        },
                        "transparency": 0
                    }
                ]
            }
        }

 

 

Thanks

1 REPLY 1
v-polly-msft
Community Support
Community Support

Hi @mmjabr ,

Please check.

If you're using one of our original themes, the "Classic" theme, or a custom theme that you imported on top of one of these, the text section of the theme dialog box isn't available for configuring.

Built-in themes that are affected by this limitation include the following themes:

  • Classic
  • City park
  • Classroom
  • Color blind safe
  • Electric
  • High contrast
  • Sunset
  • Twilight

If you're using one of the affected themes and you don't need to modify the text settings, you can safely use the other tabs of the dialog box with no issues. However, if you want to use the text classes with one of the affected themes, you have a couple options:

  • The quickest and easiest way to enable the text classes is to select the Default theme options.
  • If you want to keep your current custom theme, to enable the text tab:
    1. Export your current theme.
    2. Select the default theme.
    3. Import the custom theme you exported in the first step.

The text in your report will look different, but you will be able to access the text tab in the theme dialog box.

 

Please refer to the following document for further information.

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#introduction-to-repor...

 

Best Regards

Community Support Team _ Polly

 

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

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

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