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