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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
kewaynes
Helper IV
Helper IV

Line Color Based on Order (not name)

Hi,

 

Is there any way to make it so lines have colors based on their order in the legend and not based on name?

 

For instance, I always want the first line to be red, the second line blue, third line yellow, ect... regardless of the name of the line. So if I have a line B and line C, B would be red and C would be blue. However, if the filters are changed and now there is a line A, B & C line, A would be red, B would be blue and C would be yellow.

 

Essentially, I want a "template" that says, line 1 is always formatted this way, line two this way, etc... Is this possible or is the formatting always based on the name of the line?

1 REPLY 1
lbendlin
Super User
Super User

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.powerbi.com

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.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors