Forum Discussion

afk's avatar
afk
Advocate II
8 years ago
Solved

Week number with 2 digits

Hi,   The weeknum formula returns the weeks 1 to 9 as single digits. Is there a way to display these as 2 digits, e.g. 01, 02....09?   Thanks!
  • afk's avatar
    8 years ago

    Looks like I've managed to solve this myself :smileyhappy:

     

    I used the DAX Formula " weeknumber = FORMAT(WEEKNUM([date],1),"00")  "

     

    If anyone has any other better solutions, please feel free to contribute.