Skip to main content
Defines dimension tables that are joinable from every included topic — typically a date spine, region table, or product catalog. Omni auto-detects shared views on file creation; edit the list as needed. Dimensions from a shared view are selectable as join keys for any topic. Measures on a shared view are aggregated per topic, not combined.

Syntax

shared_views: [<view_name>, <view_name>, ...]

Properties

shared_views
string[]
A list of view names joinable from every included topic — either as the base view of every topic or through the model’s relationships. The validator surfaces an error if a listed view is not joinable from every topic.

Examples

shared_views: [date_spine, regions]
Because a shared view like date_spine is joined into every topic, every row in the spine appears in the result — for example, every day appears even when a topic has no activity that day.