Forum Discussion

KenMann's avatar
KenMann
Regular Visitor
2 years ago
Solved

How to solve ambiguity path

Hi guys,   In my FactInternetSales table, I have columns : SalesTeritory and Customers. In my Relationship diagram, I am now set like this : As the above, Sales Teritory already have path l...
  • AlexisOlson's avatar
    AlexisOlson
    2 years ago

    Merge into DimCustomers any columns from DimSalesTerritory and DimGeography any columns that you want to associate with customers. You can still keep DimSalesTerritory as a separate table to filter FactInternetSales.

     

    I'm guessing it's possible to have a sale in a geography that isn't the same as the geography associated with a customer. The method I'm suggesting allows you to have e.g. SalesCountry (from DimSalesTerritory) and CustomerCountry (from the merged/denormalized DimCustomer) as independent dimensions that don't necessarily match. If this isn't how your data works (e.g. if you only have geographic data associated with sales or customers but not both), then my suggested method is not what you want.