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
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
Employee
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
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