I have this query to get the start of the week (Monday) for the current date. It breaks when the date is first of the month and a Sunday. Not sure how to solve this issue. Any help would be highly appreciated. Thanks.
DATEADD(wk,DATEDIFF(wk,0,'2017-01-01'),0)