dbTalk Databases Forums  

Many to Many dimension setup??

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Many to Many dimension setup?? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steven H
 
Posts: n/a

Default Many to Many dimension setup?? - 09-18-2006 , 07:48 PM






We have a many to many scenario and we are trying to get the following
analysis scenarion enabled

Computer Table:
ComputerName
ComputerID
ComputerGroup Table:
ComputerGroupName
ComputerGroupID
ComputerToComputerGroup Table:
Computer GroupID
ComputerID

So the tables obviously join like this:
Computer.ComputerId -> ComputerToComputerGroup.ComputerId ->
ComputerGroup.ComputerGroupIdU

Then we have a fact table named ComputerStats:
Date,
ComputerId,
FailureInstanceCount

How do we setup the dimensions such that we can slice and dice using
[ComputerName] or [ComputerGroupName] and get the right aggregate (SUM)
values gor FailureInstanceCount?




Reply With Quote
  #2  
Old   
Steven H
 
Posts: n/a

Default Re: Many to Many dimension setup?? - 09-18-2006 , 08:17 PM






Nevermind . . . I just neede to link the two related dimensions (Computer -
Computer Group) using a amny to many relationship in the Dimension Usage tab
<smile>

"Steven H" <heinz_steven (AT) emc (DOT) com> wrote

Quote:
We have a many to many scenario and we are trying to get the following
analysis scenarion enabled

Computer Table:
ComputerName
ComputerID
ComputerGroup Table:
ComputerGroupName
ComputerGroupID
ComputerToComputerGroup Table:
Computer GroupID
ComputerID

So the tables obviously join like this:
Computer.ComputerId -> ComputerToComputerGroup.ComputerId -
ComputerGroup.ComputerGroupIdU

Then we have a fact table named ComputerStats:
Date,
ComputerId,
FailureInstanceCount

How do we setup the dimensions such that we can slice and dice using
[ComputerName] or [ComputerGroupName] and get the right aggregate (SUM)
values gor FailureInstanceCount?






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.