SpinTheMic
Pro

Interview practice question

Designing a retail sales model

Data Engineering · Data Modeling · Beginner

Design a data model for a retail chain that wants to analyze sales by store, product, customer and day.

What a strong answer covers

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

  • Declare the grain: one row per sales line item.
  • Fact: sales with quantity, price, discount, amount.
  • Dimensions: date, store, product, customer, plus promotion if needed.
  • Use surrogate keys and conformed dimensions.
  • Add aggregates later for heavy dashboards.
Practise this topic

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

See all topics