Date.DaysInMonth
Syntax Date.DaysInMonth(dateTime as any) as nullable number Description Returns the number of days in the month in the date, datetime, or datetimezone value dateTime. Reference Data https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference Power Query M Functions / Date Functions / Date.DaysInMonth