![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- Hi, Has any body come across cube processing more number of records than the fact table contains If yes in what scenario does it happen? and after processing whether the summarised data is dirty or OK Please reply Regards Prasanna . |
#3
| |||
| |||
|
|
Check whether the Mapping between Fact Table and Dimension table is proper. Are there more than one mapping link between the Fact Table and any of the Dimension Tables. -----Original Message----- Hi, Has any body come across cube processing more number of records than the fact table contains If yes in what scenario does it happen? and after processing whether the summarised data is dirty or OK Please reply Regards Prasanna . |
#4
| |||
| |||
|
| Re: Custom Level Rollup |
|
This 2002 post provides 2 options, snowflake and unique level key, which work without need for custom rollups: http://groups.google.com/groups?q=di...snowflake&hl=e n&lr=&ie=utf-8&oe=utf-8&selm=3d6a3014.a0c9db0d%40dsslab.com&rnum=2 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 .. |
#5
| |||
| |||
|
|
Joining at intermediate level of dimension can cause this kind of problem, but proper schema optimization or a snowflaked dimension table should address this. Here is an earlier thread on this topic that may help: http://www.developersdex.com/sql/mes...3636831&p=1252 Re: Custom Level Rollup From: Jeremy Highsmith Date Posted: 11/25/2003 2:08:00 PM Thanks! I changed the dimension structure to snowflake (multiple tables) using a view. Works great and so simple. Deepak Puri <deepak_puri (AT) progressive (DOT) com> wrote in message news:<eXo1YAJsDHA.1088 (AT) tk2msftngp13 (DOT) phx.gbl>... This 2002 post provides 2 options, snowflake and unique level key, which work without need for custom rollups: http://groups.google.com/groups?q=di...snowflake&hl=e n&lr=&ie=utf-8&oe=utf-8&selm=3d6a3014.a0c9db0d%40dsslab.com&rnum=2 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! |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |