Interview practice question
Sales territories that change over time
Data Engineering · Data Modeling · Intermediate
Sales territories are reorganized every year. The business wants reports both by the territory at the time of sale and by the current territory. How do you model it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Store territory at time of sale via SCD2 or on the fact.
- Also expose current territory using a Type 1 column.
- SCD Type 6 approach: historical and current attributes together.
- Document which territory each report uses.
- Handle mapping changes carefully.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.