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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
fcecconi
Partner - Creator III
Partner - Creator III

Help with sorting

I am trying to sort a straight table by more than 1 column.  I have created 3 columns that will rank the data based on what columns the user selects.  This method works great for sorts on one column.  If the user selects a sort that would required 2 columns be sorted, the application will only sort by 1 column and ignore the other;

All of the ranking objects have an ascending sort enabled and the other objects don't have any sort associated with them.

any suggestions is greatly appreciated.

1 Solution

Accepted Solutions
fcecconi
Partner - Creator III
Partner - Creator III
Author

Issue was due to the mode in the Ranking statement.  I switch from ,4 to ,1 and everything is sorting as expected.

View solution in original post

4 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

If you attach the sample file then it would be easier to provide the solution.  I think if you define the order of the dimensions in the Sort tab correctly then it will sort according.  Order the Dimensions in Sort tab by

Chart Properties -> Sort -> Columns (Priority) -> Change the priority by using Promote and Demote buttons.

Hope this helps you.

Regards,

Jagan.

fcecconi
Partner - Creator III
Partner - Creator III
Author

Unfortunately I can't post my application due to company policy.  I have already have the 3 rank columns in the proper sort priority.

fcecconi
Partner - Creator III
Partner - Creator III
Author

Sort.png

Here is my sort priority screenshot

fcecconi
Partner - Creator III
Partner - Creator III
Author

Issue was due to the mode in the Ranking statement.  I switch from ,4 to ,1 and everything is sorting as expected.