Group by a Custom Fiscal Year

Here’s how to group by a custom fiscal year.

The query returns:

Fiscal YearCount
20172
20181
20191
20201
20211
20221