Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Continuous week number with year

Hello everyone,   I am new to PowerBI and still learning. I have 1 year worth of data which runs from March 2019 to March 2020 which I need to get a comparison in volume per week.   I have this f...
  • az38's avatar
    az38
    6 years ago

    Anonymous 

    try

     

    Reported Week Year = 
    var _W = WEEKNUM('Reported Date'[Reported Date])
    RETURN
    YEAR('Reported Date'[Reported Date]) & "W" & IF(_W<10, "0"&_W, _W)