AVG(deals_total_avg_area_m2) averaged pre-aggregated monthly values including months with 0 deals (area=0, price=0), pulling results down 2-14x. Replace with SUM(x * count) / NULLIF(SUM(count), 0). Verified on prod: obj 65307 room 4+ area 7.4->105.8 m2, price 7.9->112 k/m2. Migration 100_ includes REFRESH — no manual step needed post-deploy. |
||
|---|---|---|
| .. | ||
| sql | ||
| playwright_state.json | ||