Since the Foodmart Sales cube only has data for 1997, here's an example
for the Foodmart Warehouse cube:
Quote:
|
With Member [Measures].[Prev Shipped] as
|
'([Measures].[Units Shipped],
ParallelPeriod([Time].[Year]))'
Select {[Measures].[Units Shipped],
[Measures].[Prev Shipped]} on columns,
[Time].[1998].[Q2].Children on rows
from Warehouse
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!