Compartir a través de


LastXWeeks Function

Query function to evaluate whether the value is within the last X weeks.

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.

PropertyValue
Edm.Int64 False True

The value to compare.

Syntax example

?$filter=Microsoft.Dynamics.CRM.LastXWeeks(PropertyName=@p1,PropertyValue=@p2)&@p1='name'&@p2=42

See also