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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors