Syntax
Date.QuarterOfYear(dateTime as any) as nullable number
Description
Returns a number from 1 to 4 indicating which quarter of the year the date dateTime falls in. dateTime can be a date, datetime, or datetimezone value.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference