dbTalk Databases Forums  

rollups of Calculated members?

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


Discuss rollups of Calculated members? in the microsoft.public.sqlserver.olap forum.



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

Default rollups of Calculated members? - 12-17-2003 , 08:51 PM






Hello,
I have a statistical measure called outcome. It has
some numeric codes describing the different possible
outcomes of a survey. I also have some calculated members
that utilize the codes. For example I might 201 or 203
outcomes from some surveys. The calculated member I
created, called COMPLETED, checks to see if the value is
201 or 203 and returns a 1 indicating a true condition.
----------------------
IIf(Measures.[OUTCOME]=201 or Measures.[OUTCOME]=203 , 1,
0)
----------------------
I want to rollup a count of all 1's for this calculated
member COMPLETED within an arbitrary dimension. All I get
are 0's because I don't go to the leaf levels.

Does anybody have any suggestions?

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

Default Re: rollups of Calculated members? - 12-17-2003 , 10:50 PM






From your description, it sounds like "Outcome" should be a dimension
more than a measure in the cube. Then it will be easy to roll up related
codes in a dimension hierarchy. If the leaf level always maps to single
fact table records, then a calculated member should also be possible.

- Deepak

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

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.