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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
asknyldz
Contributor III
Contributor III

Absolute Value Sort in Straight Table

Hi there,

How can i Absolute Value Sort my values in Straight Table.

This is should be below,

2012     2000

2013     -1500

2011     1000

You can find attached sample file.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

It might be even possible and more simple to create another expression:

=Fabs("vs Last Forecast")

and use this expression to sort your table (column could also be hidden on presentation tab).

View solution in original post

5 Replies
swuehl
MVP
MVP

Have you tried a sort expression on sort tab:

=fabs( YourTableExpression )

?

bitmap.png

asknyldz
Contributor III
Contributor III
Author

Dear Stefan,

Sorry i didn't success my original dashboard. You can find attached, maybe you can help with this.

swuehl
MVP
MVP

You are using multiple dimensions, so only sorting one dimension would not return the desired result.

I've added a  hidden dimension that is a combination of all used dimensions, i.e. a primary key to your table.

Not all your dimensional rows show results for both forecasted periods, that could also be a problem when sorting only on one expression. I've changed the sort expression to use your third column.

See attached.

swuehl
MVP
MVP

It might be even possible and more simple to create another expression:

=Fabs("vs Last Forecast")

and use this expression to sort your table (column could also be hidden on presentation tab).

asknyldz
Contributor III
Contributor III
Author

Amazing!

Thanks