![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| From: George Spofford (george (AT) dsslab (DOT) com) |
#3
| |||
| |||
|
#4
| |||
| |||
|
| From: George Spofford (george (AT) dsslab (DOT) com) |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Marc, One other thing to watch out for, when joining a fact table to an intermediate level of a dimension, is the potential for multiple dimension records to join to a fact record. Here are a couple of techniques from another earlier post: http://groups.google.com/groups?hl=e...C9DB0D%40dssla b.com From: George Spofford (george (AT) dsslab (DOT) com) Subject: Re: Different granularity for measures View: Complete Thread (4 articles) Original Format Newsgroups: microsoft.public.sqlserver.olap Date: 2002-08-26 06:53:51 PST You need to either optimize the joins away for the SKU and Category tables, or snowflake them so that SKU information is in a separate table from category information. (You could do both, too.) In order to optimize the joins, ensure that Category keys are unique within the level. Then, AS2K won't attempt to join in the product dimension when it processes the cube. The join is what throws off the numbers, as you get N fact rows per 1 dimension row. Your Forecasts will still have SKU disabled and join to Prod_catg_key in the category table (manually ensure this is set in the cube editor). You SKU information will join to SKU key. HTH .. - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#7
| |||
| |||
|
|
Marc, One other thing to watch out for, when joining a fact table to an intermediate level of a dimension, is the potential for multiple dimension records to join to a fact record. Here are a couple of techniques from another earlier post: http://groups.google.com/groups?hl=e...C9DB0D%40dssla b.com From: George Spofford (george (AT) dsslab (DOT) com) Subject: Re: Different granularity for measures View: Complete Thread (4 articles) Original Format Newsgroups: microsoft.public.sqlserver.olap Date: 2002-08-26 06:53:51 PST You need to either optimize the joins away for the SKU and Category tables, or snowflake them so that SKU information is in a separate table from category information. (You could do both, too.) In order to optimize the joins, ensure that Category keys are unique within the level. Then, AS2K won't attempt to join in the product dimension when it processes the cube. The join is what throws off the numbers, as you get N fact rows per 1 dimension row. Your Forecasts will still have SKU disabled and join to Prod_catg_key in the category table (manually ensure this is set in the cube editor). You SKU information will join to SKU key. HTH .. - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |