I have an app that allows users to query a SQL Database. The user is permitted to enter start and end dates (as well as other criteria). The particular table I point to only includes current year data so I want to restrict the user to only select dates in the current year.
With this formula, I get an invalid type in operator message:
[#1]>2016-12-31
This formula does not restrict the date:
[#1]>'1-january-2017'
What is the right formula for this use case?
Solved! Go to Solution.
to find this year,
Left([#1],4) != '2017'
That will error for other years.
Cheers,
Mark