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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Weeks Duration

Hi,

 

Need to get the First date and last Date as eg:  "01/01/2020 - 01/06/2020" for respective Weeks.

 

1. calculated Table with 04/01/2020 - 03/31/2020

2. calculated Week in column Week

 

Required to get the first Day and Last day in above format in another column.

 

 

Attached sample file for reference.

https://drive.google.com/file/d/1srNmdkQ19t1DaJIhoRsWS19frJ7T9r6n/view?usp=sharing 

 

REgards

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Try

link : https://www.dropbox.com/s/9jelo8gddv88sq0/Week%20start%20end%20Monday.pbix?dl=0

 

Week Start date = 'Table'[Date]-1*WEEKDAY('Table'[Date],2)+1
Week End date = 'Table'[Date]+7-1*WEEKDAY('Table'[Date],2)
Week of = FORMAT('Table'[Week Start date],"dd/mm/yyyy") & " "& FORMAT('Table'[Week End date],"dd/mm/yyyy")

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Try

link : https://www.dropbox.com/s/9jelo8gddv88sq0/Week%20start%20end%20Monday.pbix?dl=0

 

Week Start date = 'Table'[Date]-1*WEEKDAY('Table'[Date],2)+1
Week End date = 'Table'[Date]+7-1*WEEKDAY('Table'[Date],2)
Week of = FORMAT('Table'[Week Start date],"dd/mm/yyyy") & " "& FORMAT('Table'[Week End date],"dd/mm/yyyy")

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks Amith... it works.

Anonymous
Not applicable

Week Starts for Monday

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.