Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
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')