SpinTheMic
Pro

Interview practice question

Headcount reporting

Data Engineering · Data Modeling · Beginner

HR wants headcount by department for any month in the past three years. How would you model it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Employee dimension with SCD2 for department, role and status.
  • Or a monthly headcount snapshot fact: one row per employee per month.
  • Snapshot makes point-in-time counts simple.
  • Headcount is semi-additive across time.
  • Include hires and leavers as transaction facts.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics