dbTalk Databases Forums  

multiple date dimensions

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


Discuss multiple date dimensions in the microsoft.public.sqlserver.olap forum.



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

Default multiple date dimensions - 08-18-2004 , 01:25 PM






team;

how do you have multiple dimensions based off of the same data without
having seperate dimension tables?

i have 2 date fields on my fact table, and i can't figure out how to let
them work seperately from one another.

aaron



Reply With Quote
  #2  
Old   
Brian Altmann
 
Posts: n/a

Default RE: multiple date dimensions - 08-18-2004 , 04:29 PM






You can create two dimensions based on the same table.
You can then add the two dimensions to the Cube in Cube Editor.
You will probably have to create the fact table - dimensions joins manually.
In the cube schema you will notice that the base table appers once with its
physical name and a second time with an alias.
HTH,
Brian
www.geocities.com/brianaltmann/olap.html


"aaron_kempf (AT) hotmail (DOT) com" wrote:

Quote:
team;

how do you have multiple dimensions based off of the same data without
having seperate dimension tables?

i have 2 date fields on my fact table, and i can't figure out how to let
them work seperately from one another.

aaron




Reply With Quote
  #3  
Old   
Deepak Puri
 
Posts: n/a

Default RE: multiple date dimensions - 08-18-2004 , 09:23 PM



FYI: an issue that I encountered recently, when using a single table for
2 dimensions of a cube - the Analysis Server incorrectly interpreted the
alias as the same table instance, when generating the drill-through SQL
query. Thus the cube aggregated correctly, but drill-through returned no
rows when specific members of either dimension were selected. The
work-around was to use a view for the second dimension, returning data
identical to the original table.


- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #4  
Old   
akumar@itmag.com.au
 
Posts: n/a

Default multiple date dimensions - 08-19-2004 , 09:07 PM



You can use properties to create different levels and
then create virtual dimensions based on those properties.

Abhinav kumar
akumar (AT) itmag (DOT) com.au
www.itmag.com.au

Quote:
-----Original Message-----
team;

how do you have multiple dimensions based off of the
same data without
having seperate dimension tables?

i have 2 date fields on my fact table, and i can't
figure out how to let
them work seperately from one another.

aaron


.


Reply With Quote
  #5  
Old   
 
Posts: n/a

Default Re: multiple date dimensions - 08-20-2004 , 08:16 PM



I dont understand how I am supposed to join the same table to the fact table
twice.

I dont see the table aliased twice.

here is a lil more info
So I have a fact table:

FACT

it has 2 fields

DateStarted
and
DateModified.

So i can make one date dimension-- but then I need to make 2 joins in this
schema-- one from Date.Date to Fact.DateStarted and one from Date.Date to
Fact.DateModified.

I previously had 2 views for this, one view called DateStarted and one
called DateModified

And I had 2 seperate joins referencing both views.

It just seems like I should be able to do this more efficiently.


Thanks SOOOOOOO much for your help guys

aaron





"Brian Altmann" <findme@thesignaturewebsite> wrote

Quote:
You can create two dimensions based on the same table.
You can then add the two dimensions to the Cube in Cube Editor.
You will probably have to create the fact table - dimensions joins
manually.
In the cube schema you will notice that the base table appers once with
its
physical name and a second time with an alias.
HTH,
Brian
www.geocities.com/brianaltmann/olap.html


"aaron_kempf (AT) hotmail (DOT) com" wrote:

team;

how do you have multiple dimensions based off of the same data without
having seperate dimension tables?

i have 2 date fields on my fact table, and i can't figure out how to let
them work seperately from one another.

aaron






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.