Parameter List
Syntax
LASTXWEEKS(weeks,
[include_current]
)weeks
The number of weeks counting backward from last sunday.
[optional] include_current
Determines whether the current week should be included in the returned date range. If FALSE
(default), only fully completed weeks are counted. If TRUE
, the current (possibly partial) week is included. In both cases, the total length is exactly N weeks.