I am working on a site which has projects from different years. I thought it would be easiest to just create a number field for the year and then sort the projects by using the field in the query.
What I want to do now is get all unique inputs from this field. So if in the panel someone created a project and filled the year field with 2020 and another with 2021, I want to get 2020 and 2021 as an array. Is that possible with a query?