EOWEEK
Last updated
Was this helpful?
Last updated
Was this helpful?
The EOWEEK function takes the date as input and returns the ending date of the week. Node references and measures are also accepted as input arguments. Use to set the format of the output date.
Optionally, you can specify an offset for the return date, which may be a positive or negative number. Additional weeks are added to or subtracted from the end date depending on the offset value.
date - The date which is passed as an input to the function. Required.
offset - Number of weeks to be added to or subtracted from the end date of the week. Optional.
Date representing the end of the week.
If you wish to add one or two more weeks to the ending date, you can use 1 or 2 as offset values respectively.