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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Convert YYYY-WW to Date

Hello,

Is it possible to convert a YYYY-WW date format into a single date? Lets say the last day of that week?

12 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Ralf,

.

you are also right.

Better you use the solusion i have suggested with checking the lenth, you can also try the solution given by Ori.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

 

=MakeWeekDate(left('2013-02',4), Num(SubField('2013-02', '-', 2)))

Regards,

Jagan.

rbecher
MVP
MVP

Or subfield:

=MakeWeekDate(subfield('2013-2','-',1),subfield('2013-2','-',2),0)

Astrato.io Head of R&D