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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.