Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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 .