Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Day Of Week

Hi All

I have list boxes for Year and Month. I would now like to create one for "Day of Week" containing "Monday" to "Sunday" as values.

What function can I use for this?

1 Solution

Accepted Solutions
MarcoWedel

To get only one value per day of week in chronological order you could use:

=Dual(Date(Date,'WWWW'), WeekDay(Date))

View solution in original post

7 Replies
JonnyPoole
Employee
Employee

There is a date mask to use.  'WWW' will return  Mon,Tue, Wed.   'WWWW' will return the full word Monday, Tuesday...

Pass the 'WWW' mask to the function date() to render a date in this format.

=Date(Date,'WWWW')

jpapador
Partner - Specialist
Partner - Specialist

DayName(DateField)

MarcoWedel

WeekDay()

Not applicable
Author

Hi Jonathan

Thanks for your answer. I have applied your method and now it shows a lot of random weekdays.

I would only like it to show Monday, Tuesday, Wednesday, Thursday, Friday, Saterday and Sunday.

MarcoWedel

To get only one value per day of week in chronological order you could use:

=Dual(Date(Date,'WWWW'), WeekDay(Date))

Not applicable
Author

WeekDay returns an interger

MarcoWedel

Does it?

QlikCommunity_Thread_144526_Pic1.JPG.jpg