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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Create data Color in JSON by Value/Category

I Guys!

 

It is possible to define in a JSON theme the color for data colors values?

I Have some report to construct with the same colors for some category and is more easy to have all this "color rules" in the JSON and dont edit each visual with all colors.

Ror exemple every time i have the category "X" the data color is blue, if "Y" is red...

 

Thanks

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

After my tests, it is impossible because you cannot get column name or specific value in the JSON file. 

However you could use conditional formatting with your rules.

You could also post your ideas about global settings here, maybe it will be a feature of Power BI in the future.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Anonymous
Not applicable

Thanks @v-eachen-msft but in this case the conditional formating does work, because a need to have a lot of Data Color for a lot of Visuals like Chords, Stacked Bar...

I will submit the idea.

Thanks

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.