SpinTheMic
Pro

Interview practice question

Fact table with mixed currencies

Data Engineering · Data Modeling · Intermediate

A sales fact contains amounts in local currencies, and some reports sum them directly, producing nonsense. How do you fix the model?

What a strong answer covers

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

  • Amounts in different currencies can't be summed.
  • Add currency code and converted amounts in a reporting currency.
  • Use an exchange rate table with effective dates.
  • Rename columns clearly, like amount_local and amount_usd.
  • Default reports use converted amounts.
Practise this topic

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

See all topics