COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: kerryn on 05 Jan 2010 11:15:02 AM

Title: Column titles for the row header in a crosstab?
Post by: kerryn on 05 Jan 2010 11:15:02 AM
Okay this may be a really dumb question but I can not work it out....  I would like to have column titles for the row header on a crosstab report.  This column titles would be in the crosstab corner.

(http://i556.photobucket.com/albums/ss4/kerryjn/cognoscrosstab.jpg)

The picture shows what I want.  I would like the first four columns to have titles (where I have indicated with the blue boxes).  Is this possible?

Title: Re: Column titles for the row header in a crosstab?
Post by: DSR on 06 Jan 2010 01:04:05 AM
Hi kerryn,

You can achieve this by using the Crosstab space / cross tab space with text.You need drop these crostab spaces after your rows in the cross tab based on your no. of Data items used in the Rows side...Then you need to hide all empty cells at the Measures area for crosstab spaces...then you need to hide the measure heading ...

Then you can rename the headings ......


Regards,
sanjeev
Title: Re: Column titles for the row header in a crosstab?
Post by: jahnavi on 06 Jan 2010 05:21:35 AM
Hi, You can Insert crosstab space with text and change as required
Title: Re: Column titles for the row header in a crosstab?
Post by: ping on 06 Jan 2010 09:47:06 AM
Hi, Kerryn,

I have the same issue.  Were you able to add headers to your rows?

Thanks,
Title: Re: Column titles for the row header in a crosstab?
Post by: MFGF on 06 Jan 2010 10:07:28 AM
Does the crosstab space suggestion above not work?

MF.
Title: Re: Column titles for the row header in a crosstab?
Post by: ping on 06 Jan 2010 10:23:07 AM
I didn't really understand Sanjeev's suggestion.  So I asked if Kerryn were able to make it to work.  Do you add the crosstab space as new columns? or rows before/after each column?
Title: Re: Column titles for the row header in a crosstab?
Post by: MFGF on 06 Jan 2010 10:41:56 AM
Right - I see.  Add the crosstab space in the rows area, above the first real row heading.

Regards,

MF.
Title: Re: Column titles for the row header in a crosstab?
Post by: ping on 07 Jan 2010 11:27:39 AM
Got it to work.  Thanks for the pointer.
Title: Re: Column titles for the row header in a crosstab?
Post by: kerryn on 07 Jan 2010 01:23:48 PM
I can add the cross table space above the rows.  But I only have one column where as I have four columns in the example above. 

Is it possible to obtain four columns that align to the row header columns that I already have, or so I have to add a table with the text fields and then fix the column width sizing to align everything here?

More pointers would be helpful.  Thank you.
Title: Re: Column titles for the row header in a crosstab?
Post by: ping on 07 Jan 2010 02:39:16 PM
I used crosstab space with fact cells.  I noticed that it works fine with one column header.  But when I add 4 column headers all on the same row, the report runs a long time with incorrect data or overflow error.  If anybody has tried to add more than 1 column header successfully, I'd appreciate if you can share with us.

Thanks,
Title: Re: Column titles for the row header in a crosstab?
Post by: cvccfranklin on 10 May 2012 04:11:26 PM
Unlock your report.  Add a table in the Crosstab Corner that has the same number of columns as the data columns, one row. Add text items to each column and type in the header name.