dbTalk Databases Forums  

newbie MDX Question

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


Discuss newbie MDX Question in the microsoft.public.sqlserver.olap forum.



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

Default newbie MDX Question - 11-04-2005 , 04:06 AM






Hi all,
how does the following mdx expression compute household count and account
count measures? It's an example from Microsoft BI Accelerator, Woodgrove
Bank example. I tried to recreate the cube (without the following expresion)
from the original oltp database but the results aren't the same as in the
original olap example.

CREATE CELL CALCULATION
CURRENTCUBE.[Closing Balance]
FOR '(Measures.AllMembers)'
AS 'CalculationPassValue(ClosingPeriod([Time].[Month]),4)',
CONDITION =
'Count(Intersect({[Measures].CurrentMember},{[Measures].[Household
Count],[Measures].[Account Count]}))>0 And Not IsLeaf([Time].CurrentMember)'

Kind regards,
Tudor



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.