Offset dates
The Offset date option is available when you:
Add a user-defined period.
Apply a custom period (in Financial Statements).
Set the period as part of defining a measure (in Analytics Custom mode or advanced search).
Set a defined period for a database (administrators).
The setup window might behave differently depending on where you start from, but the concept of the Offset date option is the same. It allows you to set a date (or date range) based on today's date. Rather than enter a fixed date range, such as Start: January 2023 and End: March 2023, you define a dynamic date range, such as Year-to-date or Last month, so the data continues to update.
The offset settings for the Days period type are different from those of the Months and Years, as outlined below.
Use offsets month and year-based date ranges
The general steps for using the Offset option with Month and Year period types are:
Select the Year or Month period type, as required.
Select the Offset checkbox to activate the offset date setting. You can set both the Start and End dates as offsets or just one of them.
Enter the offset date as a number. The timeframe is displayed in words next to the offset box.
The following examples (set in June 2024) are common set-and-forget dynamic periods you can add to your analysis using the month and year Offset options. As they are designed to work into the future, they’re a simple way to get a date range that updates each month or year. They save you from having to manually update the date range when you roll over into a new month, calendar year, or financial year.
Calendar year-to-date (most recent)
Select the Month period type.
In the Current Period > Start date, clear the Offset checkbox, then select January and Most recent.
In the Current Period > End date, select the Offset checkbox and enter 0 as the offset number.
In the Previous Period > Start date, clear the Offset checkbox, then select January and Second most recent.
In the Previous Period > End date, select the Offset checkbox and enter -12 as the offset number.
Financial year-to-date (most recent)
For example, if your financial year runs from April to March, you can select April and the Most recent dynamic date option, along with an offset end, to always view the previous financial year’s data without having to select the year each year.
Select the Month period type.
In the Current Period > Start date, clear the Offset checkbox, then select the Start month of the financial year (for example, April) and Most recent.
In the Current Period > End date, select the Offset checkbox and enter 0 as the offset number.
In the Previous Period > Start date, clear the Offset checkbox, then select the Start month of the financial year (for example, April) and Second most recent.
In the Previous Period > End date, select the Offset checkbox and enter -12 as the offset number.
Last month (offset)
For example, suppose you want to view data for the last month and compare it with data for the same month in the previous year.
Select the Month period type.
In the Current Period > Start date, select the Offset checkbox and enter -1 as the offset number.
In the Current Period > End date, select the Offset checkbox and enter -1 as the offset number.
In the Previous Period > Start date, select the Offset checkbox and enter -13 as the offset number.
In the Previous Period > End date, select the Offset checkbox and enter -13 as the offset number.
This month (offset)
For example, suppose you want to view data for this month and compare it with data from last month.
Select the Month period type.
In the Current Period > Start date, select the Offset checkbox and enter 0 as the offset number.
In the Current Period > End date, select the Offset checkbox and enter 0 as the offset number.
In the Previous Period > Start date, select the Offset checkbox and enter -1 as the offset number.
In the Previous Period > End date, select the Offset checkbox and enter -1 as the offset number.
Rolling 12 months (offset)
For example, suppose you want to view data for the last 12 months up to today and compare it with data from the same months in the previous year.
Select the Month period type.
In the Current Period > Start date, select the Offset checkbox and enter -11 as the offset number.
In the Current Period > End date, select the Offset checkbox and enter 0 as the offset number.
In the Previous Period > Start date, select the Offset checkbox and enter -23 as the offset number.
In the Previous Period > End date, select the Offset checkbox and enter -12 as the offset number.
Last three years (offset)
For example, suppose you want to view data for the last three years.
Select the Year period type.
In the Current Period > Start date, select the Offset checkbox and enter -2 as the offset number.
In the Current Period > End date, select the Offset checkbox and enter 0 as the offset number.
Use offsets for day-based date ranges
The general steps for using the Offset option with the Day period types are:
Select the Day period type.
Click the date box to display the options window, then select the tab of the option you want to use:
Actual | This option does not use an offset. Therefore, the date is fixed. Select a specific date. | |
Offset | This option is essentially a day offset, either forward or backward from today. This option is useful, for example, to set a rolling 7-day period. See other examples below. Enter or select a specific number of days. Alternatively, for a quicker way of getting the correct offset value here, select the date on the Actual tab first, then select the Offset tab. The offset value will match the selected date. | |
Special | This option allows you to select a day that is based on a month offset (selecting a certain type of day in a particular month). This option is useful, for example, when analyzing the month-to-date performance (see example below). Select one of the four Match… options and offset that match against a chosen month.
|
The following examples are common set-and-forget dynamic periods you can add to your analysis using the Offset option with the Day period type. As they are designed to work into the future, they’re a simple way to get a date range that updates each day.
Month-to-date (special)
Today (offset)
Yesterday (offset)
Last 7 days (offset)
Select the Day period type.
Click the Current Period > Start box, select the Offset tab, then enter -6 as the offset.
Click the Current Period > End box, select the Offset tab, then enter 0 as the offset.
On this page
Videos
Create your own defined period (days) - month to date
For administrators: Add a defined period using Special Offsets (days) - yesterday
Related pages