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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors