BUILTIN.RELATIVE_RANGES
This function returns dynamic calendar ranges for the filter options that apply to relative date fields (such as Last Fiscal Year and Current Week).
Parameters
Parameter |
Required / Optional |
Description |
Accepted Parameter Values |
---|---|---|---|
Range ID |
Required |
The supported date ranges in relative dates. |
See RelativeDate.dateId Property values in the table on query.RelativeDateRange for list of supported values. For example, use |
Range type |
Required |
Represents supported period range filters. |
|
Date flag |
Optional |
Represents ways to present date values. |
|
Syntax
BUILTIN.RELATIVE_RANGES('LFYTD', 'START')
BUILTIN.RELATIVE_RANGES('LFYTD', 'END', 'DATETIME_AS_DATE')