Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
orangebloss
Creator
Creator

Legend sort order on Bar chart

Is there a way to force the legend sort order on a bar chart? 

I have the chart below which plots effort across weeks, I want the legend to list the projects in the order that they start / appear on the chart. I have a field called 'Resource Start' which I though I might be able to order them in , but while it orders the blocks on the bars it doesn't affect the legend at all, which remains alphanumerical.

 

In the example below the lilac colour needs to be the 6th entry in the legend as it starts after all the others. 

 

orangebloss_0-1740993044583.png

 

Labels (3)
2 Replies
Chanty4u
MVP
MVP

Try to create calculated dimension or master dimension 

Dual([Project Name], Min([Resource Start]))

Sort by Numeric Value by asc order 

orangebloss
Creator
Creator
Author

Thanks - When I create the Master Dimension as you've suggested the chart shows 'Invalid Dimension'

 

orangebloss_0-1741008095098.png