diff --git a/pipeline/transform/models/staging/stg_ees_ks4.sql b/pipeline/transform/models/staging/stg_ees_ks4.sql index 169fe68..a99c8d9 100644 --- a/pipeline/transform/models/staging/stg_ees_ks4.sql +++ b/pipeline/transform/models/staging/stg_ees_ks4.sql @@ -46,7 +46,7 @@ all_pupils as ( {{ safe_numeric('gcse_91_percent') }} as gcse_grade_91_pct from performance - where breakdown_topic = 'All pupils' + where breakdown_topic = 'Total' and breakdown = 'Total' and sex = 'Total' ),