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
AllanBerces
Post Prodigy
Post Prodigy

Query Week No.

Hi good day,

Pls need assistance on my query, I want to add new column (Week No.) on my power query. I have a date column,  What i need is the start of the week should be monday and end by Sunday. Pls refer below.

AllanBerces_0-1732578989947.png

Thank you

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@AllanBerces 

you can try 

=Date.WeekOfYear([date])

11.PNG





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

Proud to be a Super User!




View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @AllanBerces 

 

Many thanks to ryan_mayu  for timely help.

 

It seems that your question is already getting the desired result. Do you have any questions?

 

If nothing else, you can accept it as a solution. This will help more people identify problems!

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ryan_mayu
Super User
Super User

@AllanBerces 

you can try 

=Date.WeekOfYear([date])

11.PNG





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

Proud to be a Super User!




Hi @ryan_mayu thank you for the reply, but how can i make start of week count is Monday end on Sunday.

 

Thank you

@AllanBerces 

what do you mean start of week count is Monday end on Sunday?

11/25 is Monday and 12/1 is Sunday. That week is from Monday to Sunday. 





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

Proud to be a Super User!




Hi @ryan_mayu, yes something like below

AllanBerces_0-1732591897695.png

Thank you

your screenshot is the same as mine. Did I solve your question? If so, pls accept my answer as a solution.





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

Proud to be a Super User!




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.

Top Solution Authors