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