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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Is it possible to define fixed colors to items in a column with the recently improved json themes?

The [dataPoint: Data colors] attribute seems to be part of the json structure (seen here), so it seems to be possible. If anyone has done it or knows hows this should be implemented, a little example of the json theme code would be really appreciatted.

Thanks in advance!

Regards

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Please refer to powerbi-desktop-report-themes. There are many examples. I have tried this one:

 

{ 
    "name": "Waveform", 
    "dataColors": ["#31B6FD", "#4584D3", "#5BD078", "#A5D028", "#F5C040", "#05E0DB", "#3153FD", "#4C45D3", "#5BD0B0", "#54D028", "#D0F540", "#057BE0"],
    "background":"#FFFFFF",
    "foreground": "#4584D3",
    "tableAccent": "#31B6FD"
}

Is it possible to define fixed colors to items in a column with the recently improved json theme.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Kudoed Authors