![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| Many-to-Many Dimensions in Analysis Services 2005 |
#3
| |||
| |||
|
|
Hi Fernando, Don't know whether you've upgraded to AS 2005 yet, but the new many-many dimension support might work well for you: http://msdn.microsoft.com/library/de.../en-us/dnsql90 /html/sql2k5snapshotisol.asp Many-to-Many Dimensions in Analysis Services 2005 Richard Tkachuk Microsoft Corporation June 2005 Applies to: Microsoft SQL Server 2005 Analysis Services Summary: See an example of using the Many-to-Many dimension in SQL Server 2005 Analysis Services to analyze sales data, and get ideas for other uses such as treating medical conditions, software testing, and more. ... - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
| Different granularity for measures |
#5
| |||
| |||
|
|
Fernando, Even with AS 2000, snowflaked dimensions should not, by themselves, be a problem - in fact, snowflaking can sometimes alleviate duplicate record issues, as this past post discusses. Could you describe a scenario where you encountered issues with snowflaking? http://groups.google.com/group/micro...olap/msg/138ca 29d5c263b1f?hl=en& Different granularity for measures From: George Spofford Date: Mon, Aug 26 2002 9:41 am Groups: microsoft.public.sqlserver.olap 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. ... - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#6
| |||
| |||
|
|
Fernando, Even with AS 2000, snowflaked dimensions should not, by themselves, be a problem - in fact, snowflaking can sometimes alleviate duplicate record issues, as this past post discusses. Could you describe a scenario where you encountered issues with snowflaking? http://groups.google.com/group/micro...olap/msg/138ca 29d5c263b1f?hl=en& Different granularity for measures From: George Spofford Date: Mon, Aug 26 2002 9:41 am Groups: microsoft.public.sqlserver.olap 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. ... - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Fernando, After reviewing your cube schema, it looks like a classic many-many dimension scenario, using the COMMUNICATION_EVENT bridge table. This is supported out-of-the-box in AS 2005, but will cause duplicate rows in AS 2000. What I've often done in AS 2000 is to create 2 cubes and then combine them in a virtual cube. In this case, the COMMUNICATION_EVENT and EVENT_TYPE tables could be removed from the original cube. The fact table for the 2nd cube could then be a view which joins the original fact table to the bridge table, resulting in the extra rows; but the Event dimension would only apply to the 2nd cube. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |