cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Microsoft

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors