hard20 pts · first answer countsdata-modellingdimensional-modelling
Combining orders and returns facts
You join fact_orders and fact_returns on customer_key at line level, then SUM both amounts per customer. Totals come out far too high. What is the right approach?
Discussion 0
Join free to post in the discussion.
Related questions
- Primary key for order linesData Engineer
- Modelling doctors and patientsData Engineer
- Several phones in one columnData Engineer
- Several unique columnsData Engineer
- Picking the natural keyData Engineer
- Reading crow's foot notationData Engineer
- The model with indexes and typesData Engineer
- Why denormalise a reporting tableData Engineer