Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ebrownretail
Resolver I
Resolver I

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!

1 ACCEPTED SOLUTION
ebrownretail
Resolver I
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

View solution in original post

5 REPLIES 5
ebrownretail
Resolver I
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
Ashish_Mathur
Super User
Super User

Hi,

Does this measure work?

Week number of today = calculate(max(Dates[Week number]),datesbetween(Calendar[date],today(),today()))

Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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

ebrownretail_0-1721659426820.png

 

Joe_Barry
Super User
Super User

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




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn
Let's connect on LinkedIn


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

 

ebrownretail_0-1721604449509.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.