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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display weekending January 9 instead of week 2

How do you display a week ending date instead of the week number?

1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Maybe like

Weekend(DATEFIELD)

or

DayName(Weekend(DATEFIELD))

View solution in original post

4 Replies
swuehl
Champion III
Champion III

Maybe like

Weekend(DATEFIELD)

or

DayName(Weekend(DATEFIELD))

swuehl
Champion III
Champion III

Or if you don't have a DATEFIELD:



MakeWeekDate(2016, Subfield(WeekNoField,' ',2), 6)


See the help for:

MakeWeekDate(YYYY [ , WW [ , D ] ] )

Not applicable
Author

what about weekyear?  I am thinking go into data load editor changing the SET FirstWeekDay=6; to a 5 because first weekday is Sunday then using an expression of weekyear  then format column to display MMM-DD?

swuehl
Champion III
Champion III

Weekyear() returns the year to which the week number belongs.

Where do you want to use it?

If you want to change the week numbering have a look at

Redefining the Week Start in Qlik Sense