Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
msawyercke
Creator
Creator

Question re: Sorting

Hi,

I'm using a pivot table and have a question about sorting.  Here is a screenshot of the table, where I'm sorting by Agmnt ID, Obligation Date and Unit Location:

Capture.JPG

As you can see the date "6/30/2020" has two obligations, one which has been 'Fufilled' (by "Ashland"0 and one which has not (and therefore is null). 

My question is, how can I get the records to sort so that "Ashland" is listed first, and the null field is listed second?

I thought it would be easy to just go into the sort panel for the "unit Location" field and sort alphabetically as shown below, but it does not affect the sort sequence:

Capture1.JPG

Thanks for any help or ideas anyone can offer! 

18 Replies
msawyercke
Creator
Creator
Author

Thanks, Sunny.  My program contains confidential sales data info, so will the upload compromise that confidentiality?

sunny_talwar

Yes it would.... can you create a dummy application with dummy data which replicates the issue that you are facing?

sunny_talwar

Check the attached

Main this to change is to change the dimension for [PS #]

msawyercke
Creator
Creator
Author

Wow - thanks Sunny!

When I paste that expression into the field of my actual working module, I get a 'bad field name' message:

Capture.JPG

Do I perhaps need to make a change in my script editor as well?

We are sooooo close!!!!

msawyercke
Creator
Creator
Author

Here is where  I tried to paste that expression:

Capture1.JPG

sunny_talwar

I think it is showing square brackets around the whole thing. Make sure to remove them..

Capture.PNG

msawyercke
Creator
Creator
Author

Absolutely Correct!!!  Sunny, I can't thank you enough.  I find the detail required to solve these complex issues to be overwhelming.  You are highly skilled, intelligent and most kind to assist me.

I thank you again, and hope the rest of your day is awesome! 

sunny_talwar

No problem and same to you