Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort Legend in Pie Chart (Sort everything ascending by value except one entry)

Dear all,

I'm looking for a solution in sorting the entries in a pie chart.

I want to sort all entries by the amount of Revenue.

Product S 1.000,-

Product A 899,-

Product K  780,-

Product X  400,-

I want the Product A to be the last:

Product S 1.000,-

Product K  780,-

Product X  400,-

Product A 899,-

Thanks for your help guys,

Daniel Philips

1 Solution

Accepted Solutions
Not applicable
Author

Hi Daniel

Just sort the pie with expression

=sum(  if( Product ='Product A' ,  0,  revenue) )

JJ

View solution in original post

2 Replies
Not applicable
Author

Hi Daniel

Just sort the pie with expression

=sum(  if( Product ='Product A' ,  0,  revenue) )

JJ

Not applicable
Author

Thanks JJ. 🙂

Talk to myself: first think, then post