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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
ItsBlake
New Member

Issues using reportThemeSchema-2.140 and setting background color

The latest reportThemeSchema required updates to the color property in many areas, changing them from object to text types. Below is a simple test following the latest schema's rules (or so I believe), however the background color of my visuals won't update.

 

{
"name": "Test",
"visualStyles": {
"*": {
"*": {
"background": [
{
"color": "#000000",
"show": true,
"transparency": 60
}
]
}
}
}
}

 

Please let me know if you replicate the error or spot my mistake. Thank you!

1 ACCEPTED SOLUTION
v-sgandrathi
Community Support
Community Support

Hi @ItsBlake,

Thanks for reaching out to the Microsoft Fabric Community forum.

 

It looks like the issue may be due to the way the background color is applied in the latest reportThemeSchema. Here are a few things you can check:

Some visuals require the background property to be set inside "card" or "general", rather than just "visualStyles".

Transparency values in Power BI range from 0 (fully visible) to 100 (fully transparent). If you set it to 60, the background will be only 40% visible. Try reducing the transparency to see if the color updates correctly.

If nothing resolves the issue, try applying the background setting to a specific visual instead of using a wildcard ("*") to see if that makes a difference.

 

Try this version:

{

  "name": "Test",

  "visualStyles": {

    "*": {

      "*": {

        "card": [

          {

            "background": {

              "color": "#000000",

              "transparency": 0

            }

          }

        ]

      }

    }

  }

}

Hope my suggestion gives you good idea, if you have any more questions, please feel free to ask we are here to help you.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Regards,
Sahasra.

View solution in original post

4 REPLIES 4
v-sgandrathi
Community Support
Community Support

Hi @ItsBlake,

Thanks for reaching out to the Microsoft Fabric Community forum.

 

It looks like the issue may be due to the way the background color is applied in the latest reportThemeSchema. Here are a few things you can check:

Some visuals require the background property to be set inside "card" or "general", rather than just "visualStyles".

Transparency values in Power BI range from 0 (fully visible) to 100 (fully transparent). If you set it to 60, the background will be only 40% visible. Try reducing the transparency to see if the color updates correctly.

If nothing resolves the issue, try applying the background setting to a specific visual instead of using a wildcard ("*") to see if that makes a difference.

 

Try this version:

{

  "name": "Test",

  "visualStyles": {

    "*": {

      "*": {

        "card": [

          {

            "background": {

              "color": "#000000",

              "transparency": 0

            }

          }

        ]

      }

    }

  }

}

Hope my suggestion gives you good idea, if you have any more questions, please feel free to ask we are here to help you.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Regards,
Sahasra.

Hi @ItsBlake,

 

I wanted to follow up on our previous suggestions regarding the issue. We would love to hear back from you to ensure we can assist you further.

If our response has addressed your query, please accept it as a solution and give a ‘Kudos’ so other members can easily find it. Please let us know if there’s anything else we can do to help.

 

Thankn you.

Hi  @ItsBlake,


we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.

If our response addressed by the community member for  your query, please mark it as Accept Answer and click Yes if you found it helpful.

Should you have any further questions, feel free to reach out.


Thank you for being a part of the Microsoft Fabric Community Forum!

Hi @ItsBlake,

 

Following up to check whether you got a chance to review the suggestions given. If the issue still persists please let us know. Glad to help. 

 

Thank you for using Microsoft Community Forum.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors