RE: One dimension by the other in columns using MDX -
03-03-2004
, 06:31 AM
In MDX you specify a set for each axis
As stated in BOL (Members, Tuples and Sets), all tuples in a set must have the same dimensionality
In terms of MDX, the closest you can get to what you want would be a query such as
SELEC
{ crossjoin({gender.[all gender]},[Time].MEMBERS) ,crossjoin( [Gender].MEMBERS ,{time.[1997]}) } ON COLUMNS
[Yearly Income].MEMBERS ON ROW
FROM Sale
You might enable the (All) level in Time and use the [All Time] member instead of 1997
Your other alternative, of course, is to perform two queries and merge the result in your client application
HTH
Bria
www.geocities.com/brianaltmann/olap.htm |