Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Bar Chart with Positive and Negatives but Sort by Absolute.

We have bar chart with positive and negatives showing.  Fairly simple but they want it sorting by absolute.  I attached a picture of what they want.  So you have 60% and -55% normal due to sorting the 60% would be at the top and negative at the bottom or vice versa.  But in an absolute they would expect the sorting of 60%, -55%, 45%, -33%, etc..  Again showing the negatives.  Is there a way to do that in Qlik Sense.

IMG_0651.jpg

4 Replies
sunny_talwar

May be use a sorting expression:

fabs(ChartExpression)

Anonymous
Not applicable
Author

That turns the whole chart into positive.  The means -55% will look like 55%.  That is not what they want.  The display needs to be negative and positive.  The sort is by absolute.

Anonymous
Not applicable
Author

I am using QlikSense how would I put in a sorting expression? 

swuehl
MVP
MVP

Set a custom sort expression for the dimension on sort section of the bar chart properties pane:

2016-06-17 22_28_15-APPLE_2016_04 - Excel.png