COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Venu_Gollapudi on 08 Nov 2007 02:58:55 AM

Poll
Question: How to make the crosstab row heading appear in the report
Option 1: How to make the crosstab row heading appear in the report votes: 0
Option 2: How to make the crosstab row heading appear in the report votes: 0
Title: How to make the crosstab row heading appear in the report
Post by: Venu_Gollapudi on 08 Nov 2007 02:58:55 AM
Hi,

How can I make my crosstab row heading appear in the report.

Any body have any idea on this.
Title: Re: How to make the crosstab row heading appear in the report
Post by: MFGF on 08 Nov 2007 04:16:59 AM
Hi,

I don't understand what you are asking.  Crosstab row headings appear at the beginning of each row when you run your crosstab report.  Where else do you want to display them?

MF.
Title: Re: How to make the crosstab row heading appear in the report
Post by: Venu_Gollapudi on 08 Nov 2007 04:34:35 AM
Please find the attached word doc, I wanted to create a cross tab in that manner, as you told me cross tab row heading will appear in the beging of each row when we run our report, but those are actually the data item values but not the Data item lables.
Title: Re: How to make the crosstab row heading appear in the report
Post by: MFGF on 08 Nov 2007 04:50:05 AM
Oh - OK, I see what you want to do.

Go to the toolbox, and bring in a Crosstab Space (with text) above your first row heading.  Then nest another one alongside this, then a third (ie one for each of your nested row headings).

Select the outer crosstab space, set the Source Type property to be 'Data Item Label' then select the relevant item in the Data Item Label property below this one.  Repeat the process for your nested column space headings.

Regards,

MF.
Title: Re: How to make the crosstab row heading appear in the report
Post by: Venu_Gollapudi on 08 Nov 2007 05:16:18 AM
Wow, cool.........., Thank you very much.
Title: Re: How to make the crosstab row heading appear in the report
Post by: MFGF on 08 Nov 2007 05:21:14 AM
You're welcome!  ;D
Title: Re: How to make the crosstab row heading appear in the report
Post by: rockytopmark on 08 Nov 2007 09:44:10 AM
Just my $0.02, but I am not fond of the row of blank cells added above the measure area... below each column label. 

This can be avoided by not adding the Crosstab Space, and instead adding the labels inside the Crosstab Corner.

Example attached.
Title: Re: How to make the crosstab row heading appear in the report
Post by: Venu_Gollapudi on 20 Nov 2007 10:47:03 PM
Hi Rocky,

This was even better, but  can you tell me how did you do this.

Venu.
Title: Re: How to make the crosstab row heading appear in the report
Post by: rockytopmark on 21 Nov 2007 01:02:39 PM
1. Unlock the report (Click the blue lock toolbar button)
2. Insert a table into the Crosstab Corner, one column for each level of nesting on the Row Edge
3. Size the width of the Cells in the new "Header" table and the corresponding Row Edge cell
4. Drag text object or query item into each of the cells of the "Header" table
5. If using Query Items, change to use Query Item Label, instead of value.

You may have to play with the Crosstab Corners justification and organization (if there are other objects in there)