dim_semantic_metric_catalog table provides a comprehensive, always-current reference for all metrics available in the SourceMedium semantic layer. Unlike static documentation, this table is dynamically generated from the actual metric definitions, ensuring it always reflects the current state of your metrics.
This is the source of truth for metric definitions. The catalog currently contains 180+ metrics. Query this table to discover available metrics, understand their calculations, and find the right metric for your analysis.
Use Cases
- Metric Discovery: Find all available metrics and filter by category or type
- Understanding Calculations: See exactly how each metric is calculated
- Dependency Tracking: Identify which metrics depend on other metrics
- Alias Resolution: Map abbreviated metric names (like
aov) to their full descriptive names - Documentation: Generate metric documentation for your team
Schema
Example Queries
Find All Revenue Metrics
Discover Marketing Efficiency Metrics
Resolve an Abbreviated Metric Name
Find All Abbreviations for a Metric
List All Cumulative (MTD/QTD/YTD) Metrics
Find Metrics by Underlying Data Source
Explore Metric Dependencies
Get Canonical Metric Names (Resolving Aliases)
Metric Types Explained
Simple Metrics
Simple Metrics
Direct aggregations of a single measure. These are the building blocks for other metric types.Examples:
order_net_revenue= SUM(order_net_revenue)order_count= SUM(valid_order_count)new_customers= SUM(customer_count) with filter
SUM(measure_name) or SUM(measure_name) WHERE [filter applied]Ratio Metrics
Ratio Metrics
Division of two metrics, typically used for averages and rates.Examples:
average_order_value_net= order_net_revenue / order_countcustomer_acquisition_cost= total_ad_spend / new_customer_order_countclick_through_rate= total_ad_clicks / total_ad_impressions
numerator_metric / denominator_metricDerived Metrics
Derived Metrics
Custom calculations combining multiple metrics with expressions.Examples:
cost_per_thousand_impressions= total_ad_spend * 1000 / total_ad_impressionsgross_margin= gross_profit / order_net_revenue
Cumulative Metrics
Cumulative Metrics
Running totals that accumulate over time periods.Grain-to-date:
mtd_net_revenue= Month-to-date net revenue (resets each month)qtd_net_revenue= Quarter-to-date net revenueytd_net_revenue= Year-to-date net revenue
trailing_30d_revenue= Revenue for the last 30 daystrailing_90d_revenue= Revenue for the last 90 days
CUMULATIVE_SUM(measure_name)Metric Categories
| Category | Description | Example Metrics |
|---|---|---|
revenue | Revenue, profit, and average order value metrics | order_net_revenue, average_order_value_net, gross_profit |
customer | Customer counts and acquisition metrics | new_customers, new_customer_order_count, total_customers |
conversion | Conversion rates and funnel metrics | conversion_rate, add_to_cart_rate, checkout_completion_rate |
marketing | Ad spend and efficiency metrics | total_ad_spend, marketing_efficiency_ratio, cost_per_click |
product | Product and inventory metrics | total_products, total_skus, product_page_views |
cumulative | Time-based running totals | mtd_net_revenue, ytd_order_count, trailing_30d_revenue |
period_comparison | Period-over-period comparisons | order_count_mom_change, order_count_yoy_change |
Common Aliases Reference
The semantic layer supports abbreviated metric names for convenience. Always use the full descriptive name for new implementations.| Alias | Preferred Metric | Description |
|---|---|---|
aov | average_order_value_net | Average Order Value |
mer | marketing_efficiency_ratio | Marketing Efficiency Ratio (blended ROAS) |
cac | customer_acquisition_cost | Customer Acquisition Cost |
cpc | cost_per_click | Cost Per Click |
cpm | cost_per_thousand_impressions | Cost Per Mille (thousand impressions) |
cpo | cost_per_order | Cost Per Order |
roas | return_on_ad_spend | Return on Ad Spend |
ctr | click_through_rate | Click-Through Rate |
cvr | conversion_rate | Conversion Rate |
cpa | customer_acquisition_cost | Cost Per Acquisition (same as CAC) |
Best Practices
Use Full Metric Names
For new dashboards and queries, always use the full descriptive metric name (e.g.,
average_order_value_net instead of aov). This improves readability and maintainability.Check Dependencies Before Filtering
When filtering metrics, check the
dependent_metrics column to understand what underlying data will be affected. Ratio and derived metrics may behave unexpectedly with certain dimension filters.Match Semantic Models for Joins
When combining metrics in a query, prefer metrics from the same
semantic_model_name for consistent dimension availability. Mixing metrics from different semantic models may limit available dimensions.Related Resources
- Metric Definitions - Curated list of key metrics with descriptions
- dim_data_dictionary - Table availability and column metadata

