![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| With Member [Measures].[PreviousSales] as |
#3
| |||
| |||
|
|
Depends on how the set of Time Members is to be defined, and on how the measures to be analyzed are aggregated. Here's an example from the Foodmart Warehouse cube: With Member [Measures].[PreviousSales] as '([Measures].[Warehouse Sales],ParallelPeriod([Time].[Year]))' Set [JanFeb98Set] as '{[Time].[1998].[Q1].[1],[Time].[1998].[Q1].[2]}' Member [Time].[JanFeb98Sum] as 'Sum([JanFeb98Set])', SOLVE_ORDER = 10 Select {[Measures].[Warehouse Sales], [Measures].[PreviousSales]} on columns, {Descendants([Time].[1998],[Time].[Month]), [Time].[JanFeb98Sum]} 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! |
![]() |
| Thread Tools | |
| Display Modes | |
| |