dbTalk Databases Forums  

one to many relationship in a cube

comp.databases.olap comp.databases.olap


Discuss one to many relationship in a cube in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
athermian@yahoo.com
 
Posts: n/a

Default one to many relationship in a cube - 01-07-2005 , 10:30 AM






Hi,

I have a cube where the products we get for repairs under warranty are
analyzed. My dimensions are repair date, symptoms, root cause and
products.
All this works fine my only problems is that I need to put in another
dimension called actions (things done to rectify the problems). The
only
problem is that 90 percent of the times more than one action is taken
to do
the repair.

If I put action id in my transactions query then every repair that has
multiple action gets repeated that many times. is there a way to
model
this in a cube?

Any help would be greatly appreciated.

Thanks

Ather


Reply With Quote
  #2  
Old   
Heimo Hetl
 
Posts: n/a

Default Re: one to many relationship in a cube - 01-08-2005 , 06:10 AM






athermian (AT) yahoo (DOT) com wrote:

Quote:
If I put action id in my transactions query then every repair that has
multiple action gets repeated that many times. is there a way to
model
this in a cube?
add both a dimension (e.g. "action_id") and a measure (e.g. "action_count").
this lets you keep track of which action was performed how many times on
which model per month blah blah etc.

HTH

cheers
Heimo

--
l'essentiel est invisible pour les yeux.



Reply With Quote
  #3  
Old   
Tony Proctor
 
Posts: n/a

Default Re: one to many relationship in a cube - 01-13-2005 , 07:49 AM



If you used a true "multi-cube" product then this would not be an issue. It
would be analogous to designing multiple tables in the SQL world, and doing
a natural join on the data.

Tony Proctor

<athermian (AT) yahoo (DOT) com> wrote

Quote:
Hi,

I have a cube where the products we get for repairs under warranty are
analyzed. My dimensions are repair date, symptoms, root cause and
products.
All this works fine my only problems is that I need to put in another
dimension called actions (things done to rectify the problems). The
only
problem is that 90 percent of the times more than one action is taken
to do
the repair.

If I put action id in my transactions query then every repair that has
multiple action gets repeated that many times. is there a way to
model
this in a cube?

Any help would be greatly appreciated.

Thanks

Ather




Reply With Quote
  #4  
Old   
John Smith
 
Posts: n/a

Default Re: one to many relationship in a cube - 04-14-2005 , 09:23 PM



Hi,

What you term a "Cube" is what exactly?

Are you using an toy OLAP product like MSAS, or an industrial strength OLAP
product like Essbase?

John

<athermian (AT) yahoo (DOT) com> wrote

Quote:
Hi,

I have a cube where the products we get for repairs under warranty are
analyzed. My dimensions are repair date, symptoms, root cause and
products.
All this works fine my only problems is that I need to put in another
dimension called actions (things done to rectify the problems). The
only
problem is that 90 percent of the times more than one action is taken
to do
the repair.

If I put action id in my transactions query then every repair that has
multiple action gets repeated that many times. is there a way to
model
this in a cube?

Any help would be greatly appreciated.

Thanks

Ather




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.