sql server 2008 r2 - In SSAS Data Source View, the DimDate and FactInternetSales with tables in AdventureWorks Database has no relationships between -
i sql server developer familier ssis. first time work on ssas. trying learn free video tutorials offered microsoft. in tutorial when try create data source view tables in adventureworks database ..the schema had relationships between dimdate , factinternetsales(with 3 connecting columns/lines) while other tables have 1 connecting column/line.
but when tried same, schema shows no relationship between dimdate , factinternetsales. note: other tables had 1 connectivity ..same video tutorial. please advice.
thanks, vanu
there must 1-to-1 relationship between fact date keys , dimdate dimension. so, in example, there 3 connecting pointers in schema view, meaning fact table must contain 3 different date keys.
start_date_key, end_date_key, as_of_date_key, point dimdate.date_key key field. in mind, row following
start_date_key = 20120101
as_of_date_key = 20120605
end_date_key = 20150101
someotherkey = 10
sales_product_key = 5
hope helps.
Comments
Post a Comment