COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: mindbender on 12 Mar 2007 01:29:58 AM

Title: Crossjoins in Cube
Post by: mindbender on 12 Mar 2007 01:29:58 AM
Hi,

Is there a possibility of getting a crossjoin for dimensions and measures  which are directly picked from a cube.

When i`m viewing the Native MDX query i am finding the query to be starting with 'SELECT CROSSJOIN '
How could this affect my results..
Title: Re: Crossjoins in Cube
Post by: John Doe on 21 Mar 2007 10:15:38 PM
You'll get a crossjoin if you nest dimensions on the same axis.

Further to that, if you are working with a crosstab, make sure you are viewing the MDX from the report layout (tools menu) rather than the Query object.  If you view the MDX from the query object, the data is projected on to a single axis, and will not be reflective of your layout. 

Viewing the MDX from the layout will give you a better indication of the true MDX (reflective of your crosstab - multiple axis, slicers, etc..)