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 August 31st. Request your voucher.

Reply
bee_I
New Member

sorting json colors by individual diagram and not by page

Hi BI-buddies,

 

Having an issue where i'm importing a custom json file into BI. When doing this, the colors are sorted for the whole page, meaning that color 1,2,3 in the json is placed in diagram 1, color 4,5,6 in diagram 2 and so on..

 

I want the sorting order to reset for each indiviual diagram, so that color 1,2,3 are always the first to be chosen for each time, and to select this manually for each diagram is not an option since i have 100+ reports to fix. 

 

So, are there any other ways to do this through the coding in the json file? or maybe through some default setting in powerBI?

 

Grateful for all the input i can get on this one.

 

Stay safe and healthy!

/Bee

1 REPLY 1
Anonymous
Not applicable

HI @bee_I,

Nope, power bi does not support use theme to setting calculated based on visual order.  For advanced color formatting, I'd like to suggest you use the 'conditional formatting' feature on your visual based on measure value.
Regards,

Xiaoxin Sheng

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.