Syntax
Date.StartOfWeek(dateTime as any, optional firstDayOfWeek as nullable number) as any
Description
Returns the first value of the week given a date, datetime, or datetimezone value.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference