COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: lorenmario on 09 Jul 2014 09:39:41 AM

Title: Hide column in Crosstab report
Post by: lorenmario on 09 Jul 2014 09:39:41 AM
Hello,

I have a crosstab report with three columns, but one can not be displayed in the layout, how do I hide it?
Have tried using the crop feature, but it has a filter that works only if this column is displayed in the layout, but the user does not want to see this column.

I appreciate if you help me!
Title: Re: Hide column in Crosstab report
Post by: adam_mc on 09 Jul 2014 12:48:57 PM
I've found that "hiding" columns in a crosstab can be tricky based on layout and business requirements...

If you can't simply set Box Type = None for the column (and its header)
Note: Depending upon your layout, this can sometimes cause problems with the alignment of the remaining displayed columns.

Then, try setting the column width of the column you wish to hide to be 0.
Note: You may need to set the table properties of the crosstab to Fixed Size.

Hope this helps.
Thanks,
Adam.
Title: Re: Hide column in Crosstab report
Post by: Lynn on 09 Jul 2014 02:28:55 PM
I agree with adam that hiding in a crosstab can be difficult, but if you put the column rightmost in the crosstab you can often set box type to none without affecting the rest of the layout
Title: Re: Hide column in Crosstab report
Post by: lorenmario on 09 Jul 2014 02:58:37 PM
It worked, thank you!