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: 
akuttler
Creator
Creator

TWO DIGIT WEEK #

I have a custom dimension for Year Week# as follows:


= Year(Date) & ' ' & (Week([Date])



How would I make the week # always appear as two digits for example

2018 01

2018 02


etc.


Thanks.

1 Solution

Accepted Solutions
yujiyamane
Creator II
Creator II

It should be as below.

= Year(Date) & ' ' & num( Week([Date]), '00')

View solution in original post

1 Reply
yujiyamane
Creator II
Creator II

It should be as below.

= Year(Date) & ' ' & num( Week([Date]), '00')