Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

week days order

Dear all,

how can I order the days of week ? I've a graph and I would display the names of the days in order as they are in the week:

Mon Tue Wed Thu Fri Sat Sun

I retrieved the names by the weekday function, but they aren't in the right sequence.

Is it possible ?

Thanks in advance for your help

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Weekday() should have created dual values with a numeric representation which you could use to sort your values.

In your chart, select numeric as sort order in sort tab.

View solution in original post

4 Replies
swuehl
MVP
MVP

Weekday() should have created dual values with a numeric representation which you could use to sort your values.

In your chart, select numeric as sort order in sort tab.

MayilVahanan

HI

SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';

or

Sort ->expression

=Match(WeekDay,'Mon','Tue','Wed','Thu','Fri','Sat','Sun')

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable
Author

Thanks!!!

Not applicable
Author

The second option works great for me. I just needed to capitalize them to match my existing day characters. Thanks much!