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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

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 @Anonymous,

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

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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