Probably has to do with the second part of the time range not specifying
a level.
Quote:
[Time].[Month].Members.Item(0):[Time].CurrentMember |
You could try, the following, but it may not work if you do not have the
month level in your select statement.
[Time].[Month].Members.Item(0):[Time].[Month].CurrentMember
Or you could try something like the range below to try and get the range
for the current level.
[Time].currentmember.level.Members.Item(0):[Time].CurrentMember
I have not tested either of these they are just off the top of my head,
but hopefully you can see the logic I am following.
--
Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell
In article <1127719008.632860.12220 (AT) o13g2000cwo (DOT) googlegroups.com>,
jengiolo (AT) yahoo (DOT) it says...
Quote:
The calculated member:
"Sum([Time].[Month].Members.Item(0):[Time].CurrentMember,[Measures].[Store
Sales])"
looks ok for me, but it give me this error:
"not valid levels (not correspondents) in the function Range"
What's the problem?
Thanks all
j. |