![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| WITH MEMBER [Time].[1997].[Total] AS |
#3
| |||
| |||
|
|
The problem is that, since there is no [All] level for [Time], [Total] is added by default at the [Year] level. In that case, using [Year].AllMembers causes a recursive definition of [Total], since it is a member of [Year]. By arbitrarily assigning [Total] as the child of a year, it is at the [Quarter] level, so this version works: WITH MEMBER [Time].[1997].[Total] AS 'AGGREGATE({[Time].[Year].AllMembers})' SELECT {[Time].[Total]}ON AXIS(0) FROM [Sales] Or .Members, rather than .AllMembers, will work as well. - Deepak *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |