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 Problem - Sum Month with remaining months

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-12-02 : 08:14:20
Sam writes "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])

Any help much appreciated"
   

- Advertisement -