dbTalk Databases Forums  

problem with custom rollup

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


Discuss problem with custom rollup in the microsoft.public.sqlserver.olap forum.



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

Default problem with custom rollup - 11-18-2004 , 05:52 AM






Hi Elad,

Thanks for your help for calculating my cumulative percentage. Now i had
a problem with a custom rollup.
I need to get the values calculated condition in the customerollup in
the dim level.In my cube date,product parent child dims and3 measures
are present.The idea is it has to calculate the aggregate at heigher
levels in the dim based on the date condition.For example in my prod dim
it has one level,In my Date dim it has 3 diff levels like
YEAR,QUARTER,MONTH.i need to to get the values at heiger levels in the
prod based on the time period like for data < Oct2003 the custom rollup
should be
(Product Line.Ctg].CurrentMember.DataMember, 0).For the data > 2003 Oct
the custom rollup should be rollup from the children
in the dimension.I am giving the following syntax.but its not working
for heiger levels(like in the qurter level)


iif(FORMAT([Date].[Fiscal Month SC].currentmember.Name,"YYYYMM")
<"200410",CalculationPassValue([Product
Line.Ctg].CurrentMember.DataMember, 0),RollupChildren([Product
Line].[Ctg].CurrentMember,[Product
Line].[Ctg].CurrentMember.Properties("+")))

the above custom rollup i am giving in the product dim level.its not
workin properly.

Any suggestion to the above problem!

Thanks in advance.

bye,

Sunil.

*** 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.