Customized date expressions - overview

You can specify a complex date range by building a custom expression.

We recommend that you refer to a calendar when building expressions in order to specify the number of weeks and days correctly. Excel has several built-in functions allowing you to calculate the number of days, workdays, months, and years between dates. You can use these functions in formulas to calculate other intervals, such as weeks and quarters.

To enable custom expressions

This is an example using Rolling Dates.

  1. On the Request Wizard: Step 1, instead of using Preset Dates, select Rolling Dates.

  2. Switch to rolling weekly, monthly, quarterly, or yearly. Notice how the options below change.

  3. For more customization options, click Show Advanced Options.

  4. For example, if you change the dates above to rolling monthly from the first day three months ago to the first day of this month, the dates in the advance options portion update themselves to reflect that:

  5. Enable Customize Expression. By selecting options under Rolling Dates, you can easily see the syntax for custom date expressions.

    You can use Advanced Options to mix and match custom date expressions. For example, if you wanted to see data from the first of the year through the end of the last full month, you could enter the following: From: cy To: cm-1d. In the wizard, those dates are shown as 1/1/2020-1/31/2020.

On this page