Skip to main content
Daily KPI aggregation for executive reporting and dashboards (revenue, ROAS, profit, targets).
  • Grain: One row per (sm_store_id, sm_channel, sm_sub_channel, date).
  • Date field: date.
  • Filters to start with: sm_channel for channel-specific KPIs; date for time windows.
  • Joins: none; drill down to obt_orders using (date, sm_channel) filters.
Unfiltered SQL sums every delivered channel, including excluded, draft_orders, exchanged and any *_via_shopify rows. The column dictionary’s note that excluded is omitted does not apply a filter to your query. Start with sm_channel = 'online_dtc' to match the Looker Studio dashboards’ default, or explicitly choose the channels you want. All-channel totals can include overlapping channel representations.

Query examples

Columns

Supported order metrics use the workspace reporting currency when reporting-currency conversion is enabled. Manually configured costs and targets should be entered in that same currency. Ad spend and platform-reported ad revenue on this table come from ad performance. Google Ads, Meta, TikTok, AppLovin, and Snapchat use the workspace reporting currency when that conversion is enabled. Amazon Ads spend and revenue stay in the store currency (Currency & region), including when that conversion is off, and they are not converted again. Your store currency can differ from the workspace reporting currency. Other advertising sources stay in their account currency. A total across channels can mix these currencies. Contribution profit subtracts ad spend from gross profit on the same row, so an Amazon row can mix store-currency ad spend with order gross profit in the workspace reporting currency. See Reporting Currency.