Hi Team,
Trying to get the last 2 years of data from today's date using the run a query against a dataset connector.
Unsure if my code is incorrect but it fails with Expression.Error: We couldn't fold the expression to the data source. Please try a simpler expression
Any help is greatly appreciated.
EVALUATE
FILTER (
'vals',
YEAR ( DATEVALUE ( [DATEEND] ) )
>= YEAR ( TODAY () ) - 2
)

Report
All responses (
Answers (