Skip to main content
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
MVP
MVP

Maybe like

Weekend(DATEFIELD)

or

DayName(Weekend(DATEFIELD))

View solution in original post

4 Replies
swuehl
MVP
MVP

Maybe like

Weekend(DATEFIELD)

or

DayName(Weekend(DATEFIELD))

swuehl
MVP
MVP

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

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