Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Creating order amount and shipped amount Measures for Matrix visual

I can't use calculated columns to multiply two columns "Order Quantity" and "Sales Price" initially to get the overall Order Amount.    The Order Amount and Shipped Amount use different dates, and ...
  • lbendlin's avatar
    lbendlin
    2 years ago

    It's a good start

    - Products is a dimension table and should control Orders in a 1:* relationship. Looks like you have duplicates in the Products table though, you may want to clean that up

    - I would argue that Orders and Invoices are independent facts, don't join them directly. Unless you can guarantee that you only ever have one invoice for one order.  Or refute my assumption

    - Add a calendar table to your data model.  You always, always need a claendar table.  Link it to the order date (active) and the ship date (inactive)