Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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.