![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
using? For example, does each extended fact record have a corresponding base record and, if so, what is the key joining them (just like DimExtended joins to DimBase via the BaseKey). Yes, BaseKey is the key joining FactBase and FactExtended. |
|
If you're using AS 2005, and there is a join between the fact tables, you could try defining [Dim Extended] with a many-many dimension relationship to the FactBase measure group (which includes [Measures].[BaseValue]). The intermediate measure group would be FactExtended, and the intervening dimension would be the degenerate FactBase dimension. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
| This is the introduction of a paper that describes how to leverage the |
#5
| |||
| |||
|
|
Hard to say which approach is better in general - the many-many dimension feature provides more flexibility, but may incur a run-time performance penalty, particularly if the intermediate measure group fact table is large. However, if you need to analyze the Base Value by both base and extended dimensions, without the many-many approach you may have to define Unknown Members for extended attributes. This paper on many-to-many dimensional modelling by Marco Russo also discusses some performance implications: http://www.sqlbi.eu/Home/tabid/36/ct...ID/7/Default.a spx This is the introduction of a paper that describes how to leverage the many-to-many dimension relationships, a feature that debuted available with Analysis Services 2005. .. Only the Distinct Count scenario contains a section discussing the impact on performance. Since the considerations presented there may be applied to other many-to-many relationship uses, I recommend you read this scenario if you are interested in performance evaluations. .. - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Thanks for the feedback, Marco - performance should be better with your option. The only scenario where I could see any issue would be if there were a requirement to drill through the extended value to only extended fact records. Would this require a 2nd (non-default ?) drillthrough action with a condition clause to exclude the <unknown> base fact records - I'm not sure? - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
#8
| |||
| |||
|
|
Thanks for the feedback, Marco - performance should be better with your option. The only scenario where I could see any issue would be if there were a requirement to drill through the extended value to only extended fact records. Would this require a 2nd (non-default ?) drillthrough action with a condition clause to exclude the <unknown> base fact records - I'm not sure? - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |