<br>Hi,<br><br>I&#39;m new to MDX and Mondrian, so forgive my ignorance.&nbsp; I&#39;m trying to understand mixing members from different attribute hierarchies of the same dimension in a tuple.&nbsp; At first, I thought that you could only list at most one member from a given dimension in any tuple, but it seems not to be true: you can list one member per <i>attribute hierarchy</i>.&nbsp; OK, so I tried the following query on the FoodMart sample database that comes packaged with the Mondrian distro:<br>
<br>select [Measures].[Unit Sales] ON COLUMNS,<br>&nbsp;([Time].[Quarter].[Q1], [Time].[Month].[5]) ON ROWS<br>from [Sales]<br><br>However, this gives an error:<br>Mondrian Error: Tuple contains more than one member of dimension &#39;[Time]&#39;<br>
<br>Well, this would make sense in my original interpretation of the restriction on tuples.&nbsp; However, the following, semantically identical (correct me if I&#39;m wrong here) query executes without any complaints:<br><br>
select [Measures].[Unit Sales] ON COLUMNS,<br>&nbsp;CrossJoin({[Time].[Quarter].[Q1]}, {[Time].[Month].[5]}).Item(0) ON ROWS<br>from [Sales]<br><br>This seems to me an inconsistency: in both cases we construct the same tuple on the rows axis, but the first query is rejected while the second is accepted.<br>
<br>My questions are:<br><br>- Is it really an incosistency or just an apparent incosistency due to some misunderstending of MDX semantics on my part?<br>- If it is an incosistency, is it a bug in the Mondrian implementation or in the MDX specification (the former seems more likely)?<br>
<br>Regards,<br><br>Lajos<br><br>