Syntax
Date.WeekOfYear(dateTime as any, optional firstDayOfWeek as nullable number) as nullable number
Description
Returns a number from 1 to 54 indicating which week of the year the date, dateTime, falls in.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference