SpinTheMic
Pro

Interview practice question

Facts with no customer

Data Engineering · Data Modeling · Beginner

Some sales are made to anonymous walk-in customers with no customer ID. How do you model them?

What a strong answer covers

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

  • Don't leave customer key NULL in the fact.
  • Add a special customer row like Anonymous or Walk-in.
  • Point these sales to that row.
  • Allows totals by customer type to be complete.
  • Distinguish from unknown due to data issues.
Practise this topic

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

See all topics