sm_transformed_v2 follows the same naming formulas. Once you know the pattern, most names are predictable.
Building blocks
entity: the thing a table or column is about, such as an order, customer, or product.metric: a quantity, such as revenue, cost, or a count.dimension: a descriptive attribute used for grouping or filtering, such as a date, country, or product type.modifier: extra context that narrows a metric or dimension, such asnew_customerorprimary.prefixandsuffix: short markers at the start or end of a name that flag the kind of data, such asis_or_at.
Table names
The prefix tells you the table’s shape. How SourceMedium models your data explains each shape and when to use it.Metric columns
Formula:{modifier}_{entity}_{metric}. The entity and the metric always sit next to each other. Any modifier comes first.
order_gross_revenue:orderis the entity,gross_revenueis the metric.order_net_revenue_before_refunds:orderis the entity,net_revenue_before_refundsis the metric.new_customer_order_net_revenue:new_customermodifiesorder_net_revenue.repeat_customer_order_count:repeat_customermodifiesorder_count.
Numerical columns
Some numeric columns do not spell out how they are aggregated, because the metric name is already standard.order_total_revenue: total revenue for the order.subscriber_lifetime_revenue: revenue from a subscriber over their lifetime.order_discounts,order_refunds,message_unique_clicks,message_unique_opens,message_unique_receives,list_unsubscribes.
Dimension columns
Formula:{modifier}_{entity}_{dimension}. As with metrics, the entity and dimension stay together and any modifier comes first.
order_index:orderis the entity,indexis the dimension.product_variant_title:product_variantis the entity,titleis the dimension.primary_order_payment_gateway:primarymodifiesorder_payment_gateway.latest_order_refund_date:latestmodifiesorder_refund_date.
Boolean columns
Formula:is_{entity}_{dimension}. Read the name as a yes or no question.
is_price_tax_inclusive: does the price include tax?is_product_gift_card: is the product a gift card?is_order_sm_valid: should the order count in reporting? See Valid orders.
Time columns
Formula:{entity}_{dimension}_{suffix}. The suffix tells you the type and timezone.
_at: a timestamp in UTC. Example:order_processed_at._local_datetime: the same moment as a datetime in your reporting timezone. Example:order_processed_at_local_datetime._datetime: a datetime kept as the source reported it, without timezone conversion. Example:event_datetime.
_local_datetime column for day-level reporting, so days line up with your dashboards.
SourceMedium columns
Thesm_ prefix marks a column SourceMedium derived, rather than copied from a platform.
sm_utm_source_medium: the last-click source and medium chosen from every attribution signal on the order. See Attribution source hierarchy.sm_channelandsm_sub_channel: the order’s sales channel. See Sales channel.sm_order_type: subscription or one-time. See Order type.sm_order_key,sm_customer_key,sm_order_line_key: stable join keys that work across source systems.

