Hello Team Need a help in resolving issue in ssas cube related to join in between condition dimension and fact table. Below is the dimension and fact table structure with sample data.While having a relation in data source view of date dimension with fact table, Date from Dimension table should check in between Start_Dt and End_Dt in fact table and should give the result. In Fact table we dont have single date attribute to join, we have date range with start_Dt and End_Dt. for example: If a user want to see the the volume of sales for the date 2011-02-01 and productkey 10, the date should check in between the fact table start_Dt and End_Dt and get 300 How to build a relationship for dimension and fact table with in between condition in data source viewDimension table Date DateKey Date Month Semister 20110101 2011-01-01 Jan H1 20110201 2011-02-01 Jan H1 20110301 2011-03-01 Jan H1 20110401 2011-04-01 Jan H120110501 2011-05-01 Jan H120110601 2011-06-01 Jan H1Fact Table InvStart_Dt End_Dt ProductKey volume2010-01-01 2015-12-31 10 3002010-01-01 2013-12-31 09 5992008-01-01 2019-12-31 01 10002009-01-01 2019-12-31 01 1000
↧