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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to Group Dates to create a 'Week Start' column

Hello,

 

I'm trying to create a column in my calendar that says 'Week Start'. Essentially what I want it to say is 'If the day of the week is Monday, then take that date and copy it down till the next Monday'. And then when it gets to next Monday, take that new date and copy it down. Please let me know how I can do this in Power BI! Thanks!

 

Example:

Day of week     Date                           Week Start

M                      Dec 26 2022              Dec 26 2022

T                        Dec 27 2022              Dec 26 2022

W                     Dec 28 2022               Dec 26 2022

T                       Dec 29 2022              Dec 26 2022

F                       Dec 30 2022               Dec 26 2022

S                       Dec 31 2022              Dec 26 2022

S                       Jan 1 2022                 Dec 26 2022

M                     Jan 2 2022                  Jan 2 2022

T                       Jan 3 2022                  Jan 2 2022

 

 

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

Go to Power Query, Add Column tab, Conditional Column. Then day of week12.PNG

you will get this.

day of week.PNG

 

 


then go to the Transform tab, select your new column, select Fill, select down.
day of week1.PNG

 


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





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

Proud to be a Super User!




View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Just use a calculated column that tells you the Monday of the date in question

 

 Date.StartOfWeek([Date], Day.Monday)

Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

Go to Power Query, Add Column tab, Conditional Column. Then day of week12.PNG

you will get this.

day of week.PNG

 

 


then go to the Transform tab, select your new column, select Fill, select down.
day of week1.PNG

 


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





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

Proud to be a Super User!




Anonymous
Not applicable

Thank you! I had it up until the Conditional Column part but wasn't aware of the Fill Down function. This solves my problem!

Hi @Anonymous ,

You may want to look at the book M is for (Data) Monkey by @KenPuls . It has lots of great knowledge on Power Query.

Nathaniel





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

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors