SpinTheMic
Pro

Interview practice question

Price used in historical revenue

Data Engineering · Data Modeling · Beginner

Revenue for last year changes every time product prices are updated. What's wrong with the model?

What a strong answer covers

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

  • Revenue is calculated from the current product price, not the price at sale time.
  • Store the actual transaction price and amount on the fact.
  • Product dimension price is a current attribute, not a fact.
  • Use SCD2 if historical list prices are needed.
  • Recalculate last year from stored transaction amounts.
Practise this topic

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

See all topics