ccdw_aggr_product_sales_summary

This table summarizes product sales metrics 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
sku_idINTEGERFKForeign key to ccdw_dim_product for the SKU.Yes
product_idINTEGERFKForeign key to ccdw_dim_product for the product.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_value.No
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_discountNUMERICTotal promotional discount in standard currency.No