Well, since the query is against the standard Adventure Works cube, I'd
be curious to know what error you received
- I copied it from this thread and it seems to run fine.
You can easily modify it to "hard-code" the measure:
Quote:
|
With Member [Measures].[MaxRowVal] as
|
Max(StrToSet("Axis(1)"),
[Measures].[Order Quantity])
select {[Measures].[Order Quantity],
[Measures].[MaxRowVal]} on 0,
[Product].[Product Categories].[Category].AllMembers on 1
from [Adventure Works]
---------------------------------------------------------
Order Quantity MaxRowVal
Accessories 61,931 90,220
Bikes 90,220 90,220
Clothing 73,598 90,220
Components 49,027 90,220
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***