Skip to main content
Date references let formulas move through time, group dates, and calculate period boundaries.

Use the table’s granularity

Write Date with the grain used by the formula:
Supported grains are Day, Week, Month, Quarter, Half, and Year.

Reference a nearby period

The compact lookup uses the formula’s current Date grain:
At monthly grain, this reads Revenue from the previous month. A positive value moves forward. For an explicit shift, use offset:
Supported units are day, week, month, quarter, half, and year.

Select a fixed period

Read part of a date

Week functions include weekday, weeknum, and isoweeknum.

Find a period boundary

Calculate between dates

datedif uses Excel-style unit codes such as Y, M, and D.

Build a date

Formula periods

Actuals and Forecast also depend on Date. A formula assigned to a Formula period must include Date in its scope.