Create date ranges
Anyone can create a custom date range. You create a date range in the following ways:
- 🅐 In the main interface, select Components and select Date range. Select Add from the Date range manager.
- 🅑 In a Workspace project, from the context menu in a visualization, select Custom date range to this date range.
- 🅒 In a Workspace project, select Components from the menu, and select Create date range
- 🅓 In a Workspace project, use the shortcut ctrl+shift+d (Windows) or shift+command+d (macOS).
- 🅔 In a Workspace project, from the Components left panel, select at Date ranges.
To define the annotation, you use the Date range builder:
Date range builder date-range-builder
The New date range or Edit date range dialog is used to create new or edit existing date ranges.
-
Specify a Title for the date range. For example, Quarterly.
-
Optionally, specify a Description.
-
Organize the filter by creating or applying one or more Tags. Start typing to find existing tags you can select. Or press ENTER to add a new tag. Select to remove a tag. |
-
Select a Date Range by selecting first the start date and then the end date.
Alternatively, you can select a Preset from the Select a preset dropdown menu. -
Optionally, select Show advanced settings to:
-
Specify Start time and End time other than the default
12:00 AM
(0:00
) and11:59 PM
(23:59
). End times always include 59 seconds. For a date range that spans many days, the start time applies to the first day of the date range and the end time applies to the last day in your date range. Use (Reset time values) to reset start and end time to their defaults. -
Use rolling dates. If enabled, preset date ranges like Last 7 full days dynamically update as the current date and time progress. If disabled, such presets are not updated once applied.
You can select the text in brackets (for example fixed start - rolling quarterly) to extend the panel and specify details for Start and End.
-
Select Start of, End of, or Fixed day.
-
When you have selected Start of or End of, you can build a full expression. For example: End of current quarter minus
20
days. Pick the appropriate value for each individual part of the expression.- Select a value for current. For example, current quarter.
- Select a value for additional calculation. For example, minus.
- When you have specified an additional calculation, specify a value. For example,
20
. - When you have specified an additional calculation, select the time period to use for the calculation. For example, days.
Select Hide details to hide the details for rolling dates calculation.
-
-
-
Select :
- Save to save the date range.
- Save As to save a copy of the date range.
- Cancel to cancel any changes you made to the date range or cancel the creation of a new date range.