order_net_revenue means the same thing everywhere.
Where the definitions live
- Metric Definitions: plain-English definitions of every metric.
dim_semantic_metric_catalogin yoursm_metadatadataset: one row per metric with itscalculation,filter_condition, andunderlying_model, ready to query.
Which level to query
- Report tables (
rpt_*): fastest for common dashboard-style questions. Start withrpt_executive_summary_daily. - One Big Tables (
obt_*): flexible analysis with joins and business logic already applied. Start withobt_orders. - Metric catalog: when you need the exact formula behind a dashboard number.
Standard metric groups
SourceMedium’s dashboards are built from these metric groups. The SQL Query Library recipes cover the same ground.Not every brand has every integration, so coverage varies by source system.
How this relates to the SQL Query Library
The Query Library recipes are built on the same rules as the metrics:- Valid order filtering (
is_order_sm_valid = TRUE) - Stable analysis tables (
obt_*andrpt_*) - Lowercased categorical groupings for safe aggregation

