In the calendar, you can specify dates and date ranges, or select a preset.
Calendar selections apply at the panel level, but you have the option to apply them to all panels. When you click a date range in Workspace, the interface displays the current calendar month and the previous calendar month. You can adjust these two calendars by clicking the right and left arrows in each respective upper corner.
The first click on a calendar starts a date range selection. The second click completes a date range selection, which becomes highlighted. If the
Shift key is held down (or right-click is used), it appends to the currently selected range.
You can also drag dates (and time dimensions) into a Workspace project. You can select specific days, weeks, months, years, or a rolling date.
Using Date Ranges and Calendar in Analysis Workspace (4:07)
|Selected Days||Selected days/weeks/months/years|
|Use Rolling Dates||Rolling dates allow you to generate a dynamic report that looks forward or backward for a set period of time based on when you ran the report. For example, if you want to report on all Orders placed “Last Month” (based on the Created Date field) and ran that report in December, you’d see orders placed in November. If you ran that same report in January, you’d see orders placed in December.
|Date Range||Lets you pick a preset date range. Last 30 days is the default. This week/month/quarter/year (excluding today) lets you choose from date ranges that do not include partial-day data from today.|
|Apply to All Panels||Lets you not only change the selected date range for the current panel, but also for all other panels within the project.|
|Apply||Applies the date range to this panel only.|
If you’re working in Workspace, you can make the date range components relative to the panel calendar. Three common use cases where you’ll see relative panel dates take effect are Combo charts, Key metrics summary, and Freeform table date ranges.
To use relative panel date ranges
Select the Workspace tab.
Select Blank project.
Add dimensions, metrics, and segments from the left rail.
Click the panel date range field to toggle the relative panel date range setting.
Select Make date range components relative to panel calendar.
The relative dates are shown in the upper-right.
Keep in mind the following guidelines when using relative panel date ranges.
If you have relative dates selected, all date formulas will use the panel’s start date as the starting point.
When you use a week-based custom calendar and you add months or years, the formula calculates the offset of the day in the given period. The actual date may be different because of the offset. The formula chooses the day landing in the same place in the custom calendar. For example, the third Friday of the third week in a custom calendar.
If you build a segment or use a segment with a rolling date, for example, the Last 7 Days or the Last 2 Weeks, and you click on the segment preview, it will start the rolling date from Today instead of the panel start date. As a result the preview for the segment will not match when you actually use the segment in the table. The preview is impacted, not the segment itself.