Base Units
SUM(base_units) AS base_unitsAVG(units_sold) OVER (PARTITION BY product_id, retailer_id
ORDER BY week ROWS BETWEEN 4 PRECEDING AND CURRENT ROW)
AS base_units_rolling_avgLast updated
Was this helpful?
SUM(base_units) AS base_unitsAVG(units_sold) OVER (PARTITION BY product_id, retailer_id
ORDER BY week ROWS BETWEEN 4 PRECEDING AND CURRENT ROW)
AS base_units_rolling_avgLast updated
Was this helpful?
Was this helpful?