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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
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?

Labels (1)
1 Solution

Accepted Solutions
MarcoWedel
MVP
MVP

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
Former Employee
Former 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
MVP
MVP

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
MVP
MVP

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
MVP
MVP

Does it?

QlikCommunity_Thread_144526_Pic1.JPG.jpg