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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
bryan_21
Contributor III
Contributor III

How to setup week number

Hello, 

How can I setup the week number from my Field date. My field date starts from Last year (210102 - its format is YY/MM/DD) up to this present day. The date from last year should have at least 52 or 53 weeks and the week for this year should be auto counted so that I can compare the data from the week number on the present vs the week number last year.

Please help.

Thank you!

Labels (2)
1 Reply
bryan_21
Contributor III
Contributor III
Author

I have used this script Week(Field_date) as "WEEK" but the start of date from last year which is 210102 is numbered as week 13 and the date 211113 is numbered as week 1.