You may face situation to display data only for the current year or for a specific month.If you want to filter SharePoint list against a specific date then follow this solution –

Date format in a filter is always in the format Month/Day/Year (in the format MM/DD/YY) -as seen below

filter

It helps you when you get SharePoint online list item exceeds  threshold value 5000.