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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
cricex
Frequent Visitor

Assign theme dataColors to defined data label

Is there a way to assign dataColors within the json file to pre-dertermined data labels?

 

Example:

You have 3 products that are red, green and blue.

 

In addition to defining the general list of dataColors, you should be able to assign (by data label) the red product to a red hue, green product to green and blue product to blue. 

 

If this option doesn't exist yet, is it in the pipeline? That would save a ton of time.

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @cricex,

 

Based on my test, we can only define the general list of dataColors. The Data colors section of the Format panel reflect colors with the same order that you defined in Report Theme.

 

To assign data colors for specific categories in json file, I'm afraid this is not supported now. You could submit this feature request at ideas page.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
stretcharm
Memorable Member
Memorable Member

Not sure if this is possible.

 

Check the details here

https://docs.microsoft.com/en-us/power-bi/desktop-report-themes

and maybe start with a json created by this tool

https://powerbi.tips/tools/report-theme-generator-v3/

 

Then edit to see if you can set the colours.

 

If not and changing the colours is not enought add it to the ideas list.

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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