![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
An apparently easy question from a beginner: can I put members from different dimensions on the same axis? That is, can I make something like this: SELECT { [Dimension1].Members, [Dimension2].Members} ON AXIS (0), { [Dimension3].Members } ON AXIS(1) FROM MyCube Of course I've already tried and I get an error, but maybe there's a workaround that I ignore. Thanks for any comment. |
#3
| |||
| |||
|
|
You can crossjoin sets with members from different dimensions. The simplest syntax would be: SELECT { [Dimension1].Members * [Dimension2].Members} ON AXIS (0), { [Dimension3].Members } ON AXIS(1) FROM MyCube Lookup Crossjoin in BOL for more details and options. HTH, Brian www.geocities.com/brianaltmann/olap.html "Moco" wrote: An apparently easy question from a beginner: can I put members from different dimensions on the same axis? That is, can I make something like this: SELECT { [Dimension1].Members, [Dimension2].Members} ON AXIS (0), { [Dimension3].Members } ON AXIS(1) FROM MyCube Of course I've already tried and I get an error, but maybe there's a workaround that I ignore. Thanks for any comment. |
#4
| |||
| |||
|
|
Sorry to but in here... But isn't it true that when you crossjoin you cannot do "a normal drill down" from one dimension member in Dim1 to Dim 2 members related to this. Say I have Dim1 = A, B, C When first looking at data I want to have aggregates on A, B, and C and don't want to see Dim2 members yet. I want to see Dim2 members when clickling a specific Dim1 member - so when clicking Dim1 member B and want to see the aggregates for Dim1 member B alone - and not Dim2 aggregates for Dim A and and Dim C. But perhaps I can't get that...perhaps its either none of Dim2 listed or alle of Dim2 listed when they are on the same axis (not how owc works though..) Brian Altmann <findme@thesignaturewebsite> wrote in message news 269AD0B-268E-4E6E-A376-F7316F8D98BA (AT) microsoft (DOT) com...You can crossjoin sets with members from different dimensions. The simplest syntax would be: SELECT { [Dimension1].Members * [Dimension2].Members} ON AXIS (0), { [Dimension3].Members } ON AXIS(1) FROM MyCube Lookup Crossjoin in BOL for more details and options. HTH, Brian www.geocities.com/brianaltmann/olap.html "Moco" wrote: An apparently easy question from a beginner: can I put members from different dimensions on the same axis? That is, can I make something like this: SELECT { [Dimension1].Members, [Dimension2].Members} ON AXIS (0), { [Dimension3].Members } ON AXIS(1) FROM MyCube Of course I've already tried and I get an error, but maybe there's a workaround that I ignore. Thanks for any comment. |
![]() |
| Thread Tools | |
| Display Modes | |
| |