Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Analysis Services (2000)
 MDX Help : Sum Current Month and remaining months

Author  Topic 

kishv
Starting Member

3 Posts

Posted - 2004-11-24 : 14:42:18
I am trying to build a calculated member in Analysis Services that takes the Dafault Member month and sums the remaining months

ie. if default member in the time dimension is month 08 then it I want a total for 09+10+11+12
My time dimension has year,qtr,month

This is what I have got so far but getting error in cell.

Default member is set as [Fiscal Period].[Fiscal Year].&[2004-2005].&[3].&[November]

SuM([Fiscal Period].DefaultMember.lead(1): ClosingPeriod([Fiscal Period].[Fiscal Quarter], [Fiscal Period].[Fiscal Year].&[2004-2005]),[Measures].[Transaction Value])

Please can you help on this problem

rockmoose
SQL Natt Alfen

3279 Posts

Posted - 2004-11-29 : 17:14:44
...
([Fiscal Period].Parent],[Measures].[Transaction Value]) - SUM(YTD([Fiscal Period]),[Measures].[Transaction Value])

rockmoose
Go to Top of Page
   

- Advertisement -