ccdw_aggr_sales_summary

This table provides a daily summary of sales metrics aggregated by various dimensions. This table is aggregated from ccdw_fact_line_item

Column AliasData TypeKeyDescriptionIndex?
submit_dateDATEDate of the sales submission.Yes
business_channel_idSMALLINTFKForeign key to ccdw_dim_business_channel.Yes
registeredBOOLEANBoolean indicating if the customer was registered.Yes
site_idSMALLINTFKForeign key to ccdw_dim_site.Yes
first_time_buyerBOOLEANBoolean indicating if the customer was a first-time buyer.Yes
device_class_codeVARCHARDevice class code from ccdw_dim_user_agent.Yes
locale_codeVARCHARLocale code from ccdw_dim_locale.Yes
num_ordersINTEGERTotal number of orders.No
num_unitsINTEGERTotal number of units sold.No
std_revenueNUMERICTotal revenue in standard currency. This column is aggregated from std_li_gross_merchandise_valueNo
std_taxNUMERICTotal tax in standard currency.No
std_shippingNUMERICTotal shipping cost in standard currency.No
std_total_discountNUMERICTotal discount in standard currency.No
std_promotional_order_discountNUMERICPromotional discount applied at the order level in standard currency.No
std_promotional_shipping_discountNUMERICPromotional discount applied to shipping in standard currency.No
std_promotional_product_discountNUMERICPromotional discount applied to products in standard currency.No
std_manual_order_discountNUMERICManual discount applied at the order level in standard currency.No
std_manual_shipping_discountNUMERICManual discount applied to shipping in standard currency.No
std_manual_product_discountNUMERICManual discount applied to products in standard currency.No