Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Days of the week defaults (Changing first day of week to Sunday)

Hello QV gurus. It appears that the first day of the week in QlikView is Monday (Weekday for Monday = 0). Is there a setting where this can be changed to match that of the U.S. weekday values, where the first day of the week is Sunday? Thanks.

10 Replies
lyeynant
Contributor II
Contributor II

It could be simple solution for this issue ( follow sets Sunday as week start day )  :

Set vCal_FD = 6;

WeekStart( Date, 0, $(vCal_FD)as WeekStart ,

Dual( WeekDay( TempDate ), Mod( WeekDay( TempDate - $(vCal_FD) ), 7 ) +1 ) as WeekDay 

Last one set your week start date, it could be ever day you want .