Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Custom sort doesn't work

Hello everyone!

I have 4 fields Working Center, Order, Order Start Date and Order End Date.

I want to sort my straight table in this order: Working Center A-Z, Order by min(StartDate).

I created custom sort expression , but it doesn't work.

See attachment

What have I done wrong?

25 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Try this expression for your order sort

min(Aggr(NODISTINCT StartDate, WorkCenter, Order))

tresesco
MVP
MVP

Promote min (expression label) to second position and sort it in ascending order.

antoniotiman
Master III
Master III

Try to Promote Order in Sort Tab

Not applicable
Author

I need the working center to be the first in priority

tresesco
MVP
MVP

Isn't it so in my attached sample? Am I missing something ? What is your expected output?

Not applicable
Author

Thank's. I tried your solution, but it doesn't work for more lines. First Workcenter is sorted well, but the second is chaotic

Not applicable
Author

Your solution worked on the sample, but in whole list of orders it works incorrect.

See attachment with more data

qlikmsg4u
Specialist
Specialist

Is this right?

tresesco
MVP
MVP

Like this? You did not promote min to second position !