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

Top Kudoed Authors