Hi Peter,
Since I'm not sure how your utility dimension is named, here's an
example using names from this [MS} article:
http://support.microsoft.com/default...b;en-us;304118
Quote:
|
INF: How To Perform Time Series Calculations
|
...
Create a new dimension, named "Periods", by using the Periods table as
the data source. Save, and then process the new dimension.
8. Open the Sales cube for editing, and then add the Period dimension.
9. Create a new calculated member with the following properties:• Member
Name = "Year To Date Sum"
• Parent Dimension = "Periods"
• Value = SUM(YTD(),[PERIODS].&[1])
...
So, the total for the current year would be like:
Quote:
|
With Member [PERIODS].[CurrentYear] as
|
'(Ancestor([MyTime].CurrentMember, [MyTime].[Year]),
[PERIODS].&[1])'
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***