Demand Planning & Forecasting Analytics · Mission 13 of 30Medium

Promo lift attribution

Compare actuals during promo windows

The Brief

Devi IyerDemand Analystdemand-planning

Compute realized lift% per promo: (actual_during - baseline) / baseline. Show promo_id and realized_lift_pct.

You'll practice

SQL practice

Tables & columns available

fact_actualsfact6 columns
ColumnTypeKey
actual_idINTPK
sku_idINTFK → dim_skus
location_idINTFK → dim_locations
period_dateTEXT
units_soldINT
revenueREAL
fact_promotionsfact8 columns
ColumnTypeKey
promo_idINTPK
sku_idINTFK → dim_skus
location_idINTFK → dim_locations
promo_nameTEXT
promo_typeTEXT
start_dateTEXT
end_dateTEXT
lift_pct_actualREAL

Hints (3)

Each hint you reveal reduces the XP you can earn. Try the query first.

Hint 1

JOIN promotions to actuals on sku_id and date range.

Hint 2

Compute baseline as non-promo period average.

Hint 3

Realized lift vs baseline.