Forum Discussion

ebrownretail's avatar
ebrownretail
Resolver I
2 years ago
Solved

Show Currenet Week

I am trying to get a visual to show me what my current week number is. I have a DATES table that has the correct fiscal week numbers already listed, but i am not sure how to bring the fiscal week number from that table based on todays date.

 

Any ideas would be extremely helpful!

  • I was just able to figure something out for this!

     

    Curr WK # =
    CALCULATE(MAX(Dates[Fiscal Week]),FILTER(Dates,Dates[Date] = TODAY()))
     
    This will tell you what your current week# is based on today's date. Just wanted to share

5 Replies

  • I was just able to figure something out for this!

     

    Curr WK # =
    CALCULATE(MAX(Dates[Fiscal Week]),FILTER(Dates,Dates[Date] = TODAY()))
     
    This will tell you what your current week# is based on today's date. Just wanted to share
  • Hi ebrownretail 

     

    in power query, highlight the date column in your table. Then in the ribbion go to add column. There is an option called date and within there you can choose week, week of the year. 

    hope this helps

    Joe

    • ebrownretail's avatar
      ebrownretail
      Resolver I

      No I already have columns for that. I am trying to get a visual to show what my current week is. Example below.

       

       

  • Hi,

    Does this measure work?

    Week number of today = calculate(max(Dates[Week number]),datesbetween(Calendar[date],today(),today()))
    • ebrownretail's avatar
      ebrownretail
      Resolver I

      Hi! i am getting this error. Any ideas how to fix this error?