dbTalk Databases Forums  

granularity-problem

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


Discuss granularity-problem in the microsoft.public.sqlserver.olap forum.



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

Default granularity-problem - 02-25-2004 , 04:41 AM






Hi

I have a facttable which looks like this (simplified)

Id Dim1 Dim2 Measure1 Measure
1 M A 100
2 M B 200
3 V A 50

Measure1 is changing over both dimensions but Measure2 is only changing for Dim1

I created a cube with only Measure1 in it which just is a aggregates with sum

I wanted to create a second cube for Measure2, because of the granularityproblem
The problem I have is how do I get Measure2 not summed up for Dim2 but just take the non-changing lowest level value

I tried to set the 'all'-level of my Dim2 to one of my lowest level members. This works fine in the second cube but when I combine both cubes in a virtual cube this doesn't work anymore because than one dimension is two different kinds of 'all member'-formulas

Has somebody an idea how I solve this

Thanks
Edwin.

Reply With Quote
  #2  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: granularity-problem - 03-03-2004 , 01:18 AM






When you create separate cube for Measure2, simply don't include Dim2 in it
at all - i.e. you will have just Dim1.
Then virtual cube should just "magically" work.

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================

"Edwin" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I have a facttable which looks like this (simplified):

Id Dim1 Dim2 Measure1 Measure2
1 M A 100 3
2 M B 200 3
3 V A 50 1

Measure1 is changing over both dimensions but Measure2 is only changing
for Dim1.

I created a cube with only Measure1 in it which just is a aggregates with
sum.

I wanted to create a second cube for Measure2, because of the
granularityproblem.
The problem I have is how do I get Measure2 not summed up for Dim2 but
just take the non-changing lowest level value.

I tried to set the 'all'-level of my Dim2 to one of my lowest level
members. This works fine in the second cube but when I combine both cubes in
a virtual cube this doesn't work anymore because than one dimension is two
different kinds of 'all member'-formulas.
Quote:
Has somebody an idea how I solve this?

Thanks,
Edwin.



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.