dbTalk Databases Forums  

Multiple hierarchies in the same cube?

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


Discuss Multiple hierarchies in the same cube? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tarana halsall via SQLMonster.com
 
Posts: n/a

Default Multiple hierarchies in the same cube? - 05-13-2005 , 10:17 AM






My dimension table looks something like this

Category
Subcategory
Product
SKU

The fact will hold information at the SKU level

I need to create 2 dimensions for users analysis

Category, Subcategory and Product
Subcategory, Product and SKU

How can I do this? Can both the hierarchies be made available in the same
cube? (as grain level is different?)

thanks in advance

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #2  
Old   
SQL McOLAP
 
Posts: n/a

Default RE: Multiple hierarchies in the same cube? - 05-15-2005 , 04:40 PM






If the grain of your fact data is the same, then you can do it all in one
cube. (I'm assuming SKU is the lowest level of product, and it's captured in
all your fact rows)

You can do it two ways:
1) have two hierarchies in your product dimension
2) have two different dimensions for each hierarchy you described

Either way, storage will physically be the same, multiple hierarchies of the
same dimension are treated as though they're two seperate dimensions.

Some front ends won't allow you to look at different hierarchies of the same
dimension at the same time. If this is a problem, or you'd like to have
those hierarchies on different axis in your reporting, you should definitely
use the second approach.

Good luck.



"tarana halsall via SQLMonster.com" wrote:

Quote:
My dimension table looks something like this

Category
Subcategory
Product
SKU

The fact will hold information at the SKU level

I need to create 2 dimensions for users analysis

Category, Subcategory and Product
Subcategory, Product and SKU

How can I do this? Can both the hierarchies be made available in the same
cube? (as grain level is different?)

thanks in advance

--
Message posted via http://www.sqlmonster.com


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.