Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Sales Order and Detail Issue

$
0
0

Greeting 

I'm working with the AdventureWorks DataBase I do have 3 Tables 

Table1  : OrderSales (OrderSaleslID "PK" , OrderDate , CustomerID )

Table 2 : OrderSaleReason (OrderSaleslID "PK" , SalesReason "PK")

Table 3 : OrderSalesDetail  (OrderSalesDetail ID "PK" , OrderSaleslID "PK" , ProductID , QTE ) 

My fact table "Sales" is based on the OrderSalesDetail   

FactSales (OrderSalesDetail ID "PK" , OrderSaleslID  , ProductID , QTE Order , OrderDate , CustomerID)

My Question is there a possibility to integrate the SalesReason in my fact table without creating another table or having a duplicate in my fact table 
PS: 1 sale order can have many sales Reason 

and thanks!  


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>