Interview practice question
Modeling returns and refunds
Data Engineering · Data Modeling · Intermediate
The business wants net sales after returns, but returns happen weeks after the sale. How do you model sales and returns?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Returns are separate events with their own date.
- Separate returns fact, or negative lines in the sales fact with a return flag.
- Link returns to the original sale line.
- Report net sales by sale date or by return date, as the business decides.
- Return reasons as a dimension.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.