Lavenderchan
Technical User
Hello,
I have a query that I need to filter dates and return records for the last three years. I have done this by using
[/indent] and then filtering it by
However, I have relized this is not working because there can be to records submitted in the same year and now it has two records showing instead of the last one recieved. Is there a way to use date part to include the month and then use the same filter method?
I have a query that I need to filter dates and return records for the last three years. I have done this by using
Code:
Year: Max(DatePart('yyyy',[date_received]))
Code:
Year(Date())-3