Skip to main content
Defines the set of timeframes available by default for every date and time field in the model. This overrides Omni’s built-in default set of raw, date, week, month, quarter, and year. Use this parameter to surface only the timeframes that matter for your use case (for example, dropping quarter and year for operational models, or adding hour for high-frequency event data). Individual date or time dimensions can override this set with their own timeframes parameter.

Syntax

Properties

default_timeframes
string[]
An array of timeframe names to use as the default for date and time fields in the model. The following timeframes are supported:

Examples

Limit defaults to day, week, and month
Include hourly and fiscal granularities by default