LastYear Function

Query function to evaluate whether the value is within the last year.

Parameters

Parameters allow for data to be passed to the query function.

Name Type Nullable Unicode Description
PropertyName
Edm.String False False

The name of the property to evaluate.

Syntax example

?$filter=Microsoft.Dynamics.CRM.LastYear(PropertyName=@p1)&@p1='name'

See also