Forum Discussion
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
- ebrownretail
Resolver I
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 - Joe_Barry
Solution Sage
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
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.
- Ashish_Mathur
Super User
Hi,
Does this measure work?
Week number of today = calculate(max(Dates[Week number]),datesbetween(Calendar[date],today(),today()))- ebrownretail
Resolver I
Hi! i am getting this error. Any ideas how to fix this error?