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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
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')