Skip to main content
Assigns a date or timestamp dimension to a calendar defined in the model’s custom_calendars parameter. The dimension’s mapped timeframes then use the calendar’s periods instead of the Gregorian calendar. For a walkthrough, refer to Set up a custom calendar.
This parameter changes the results of saved content that uses the dimension. A this quarter filter or a period-over-period comparison now uses the calendar’s quarter. Check saved content before you apply a calendar.

Limitations

This parameter is only compatible with date and timestamp dimensions.

Syntax

Properties

object
The name of the dimension. Dimension names must:
  • Be unique within the view
  • Start with a letter
  • Contain only alphanumeric characters and underscores

Examples

Assign a dimension to a retail calendar