dbTalk Databases Forums  

fact or dimension

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


Discuss fact or dimension in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
-ants-
 
Posts: n/a

Default fact or dimension - 05-06-2006 , 04:03 PM






Hi

How does one decide if data should go into a fact or dimension table?

I have 1 primary key and lots of textual information (5 fields) which
suggests dimension.

However, the data is extremely unlikely to change, which suggets fact??


Ant



Reply With Quote
  #2  
Old   
Tim Dot NoSpam
 
Posts: n/a

Default Re: fact or dimension - 05-07-2006 , 03:35 PM






This is very high level way to determine but, if you want to see measures BY
something, it's generally a dimension. The measures you want to see BY
something are the things you would place in your fact.

Take a peak at Adventure Works sample analysis services project. You'll see
things like Store, Customer, Sales Region; all of which are Dimensions. You
may want to see total sales for the year for a particular store or how many
customers purchsed in a particular sales region. You could then have facts
such as StoreSales that would store measures such as GrossSales.

There are other situations where your dimensions may serve as both a
dimension and a fact. I would suggest doing a nice Google search for "Ralph
Kimball" and reading some of his articles on warehouse design. They answer
these questions and then some and do a much better job of it.

-Tim

"-ants-" <ants (AT) inurpants (DOT) com> wrote

Quote:
Hi

How does one decide if data should go into a fact or dimension table?

I have 1 primary key and lots of textual information (5 fields) which
suggests dimension.

However, the data is extremely unlikely to change, which suggets fact??


Ant




Reply With Quote
  #3  
Old   
Todd
 
Posts: n/a

Default Re: fact or dimension - 05-07-2006 , 05:01 PM



Ant,

It sounds to me like this data would represent a dimension.


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.