You can use the MDX VisualTotals() function.
Here is an example from Foodmart Sales cube:
Quote:
|
Select VisualTotals({[Time].[1997], [Time].[1997].[Q2],
|
[Time].[1997].[Q3]}, "Total - *") on Columns,
VisualTotals({[Product].[All Products].[Food],[Breakfast
Foods], [Canned Foods], [Frozen Foods]}, "Total - *") on Rows
From Sales
Where ([Measures].[Store Sales])
- Deepak
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!