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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.