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: 
wcilliers
Partner Ambassador
Partner Ambassador

Sorting Weekday

Hi All,

I need some help with sorting weekday in my chart. See below the current sort. I want it to start on a Saturday and have Friday as the last day.

wcilliers_0-1676513207241.png

 

In my environment variables I have defined Saturday as the first day;

SET FirstWeekDay=5;

Any ideas on how I can sort this accordingly?

The field I use is my standard date field.

Weekday(CalDate) as my Dimension

Thanks,

Wynand

Labels (6)
1 Reply
vinieme12
Champion III
Champion III

Under Sorting >> Sort by Expression 

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

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.