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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Line and Clustered column chart - change the order of color legend

Hello All,

 

I have a requirement to modfiy the order of color legend in line and clustered column chart. By default, the line column color will be displayed in the last position of color legend.

 

@Greg_Deckler  Is there any way to customize the order of color legend in line and clustered column chart?

 

Thanks,

Vadigi

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you Felix for your time and inputs. But the workaround doesn't solve my requirement.

 

I understood that, we cannot edit/modify the order of legend in Line and Clustered Column chart.

 

Thank you once again for your time.

View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @Anonymous ,

 

You cannot edit the sorting of the legend based on different clustered values so lines will always be on the end.

 

One workaround is to create another similar char but just with columns or lines then place the values on the order you want, turn off responsive and title and reduce the chart that you only see the legend (be aware that this trick only works for horizontal style legends).

 

Now turn off the legend on the first chart and group both visualizations as they are one.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Thank you Felix for your time and inputs. But the workaround doesn't solve my requirement.

 

I understood that, we cannot edit/modify the order of legend in Line and Clustered Column chart.

 

Thank you once again for your time.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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