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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sort (week + day) on chart

Hello,

i search to sort a chart on Week + Day.

I have discribe my problem on the attached file.

Thanks for your help.

Sophie

1 Solution

Accepted Solutions
hector
Specialist
Specialist

Hi, use this calculated dimension (or create it in the script)

=dual([Semaine Jour enlèvement],[SemaineEnlèvement]*10 + [JourEnlèvement])

So, if the week is 26 and the day is 5, this will return 260 + 5 -> 265, then order by "numeric value"

rgds and good luck.

View solution in original post

12 Replies
Not applicable
Author

uncheck your expression and select checkbox against text and numeric value.

Anonymous
Not applicable
Author

it doesn't work too.

With this option the sort is wrong for the day.

Not applicable
Author

Hi, Is this problem solved ?

If not, did you checked the box beside the "Text" "Z->A" under the sort tab just for the dimension Date with Month ?

Anonymous
Not applicable
Author

The problem is not solved.

See on the attached file.

Not applicable
Author

No, Just check the "Text" checkbox.

Anonymous
Not applicable
Author

It's the same things .... Sad

niceqlik
Partner - Contributor III
Partner - Contributor III

Hi,

If you want to achieve sorting chronological order while both selecting Week, or with no selection, just uncheck all sort options. By default, it would gives you the correct sort order no matter what the selection are made.

Not applicable
Author

Hi,

If you can, then post a sample data or sample qvw.

niceqlik
Partner - Contributor III
Partner - Contributor III

Of course, as attached.