hello to everyone.
I would like to know how to get data from one specific year, I know there is a filter tool but not quite sure how it works.

I would like to get only the records from 2018 for example.
And also get records from two different years (Example 2018 and 2022).
Thank you.