COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: bvk.cognoise on 11 May 2011 01:01:16 AM

Title: how can i hide a column in PDF format?
Post by: bvk.cognoise on 11 May 2011 01:01:16 AM
HI,

in my report i have A,B,C,D columns
when i run the report in HTML format i want to see all the columns in my report.but when i run the report in PDF format i dont want to see 'D' Column in my report.how can i dothis?please reply me ASAP.

thanks
bvk
Title: Re: how can i hide a column in PDF format?
Post by: PRIT AMRIT on 11 May 2011 01:22:17 AM
Create a Boolean variable: ReportOutput()='PDF'

Associate the variable with the column you want to Hide. If YES Then Box type='None'

Hope it helps?

Thanks
Title: Re: how can i hide a column in PDF format?
Post by: bvk.cognoise on 11 May 2011 01:30:27 AM
HI Prit ,
i did the same process before posting this question.but my column is hiding in all formats.how can solve this.i assigned boolean variable to 'D' column then when my condition is yes i made boxtype to none.but its hidding in all formats.

thanks
bvk
Title: Re: how can i hide a column in PDF format?
Post by: PRIT AMRIT on 11 May 2011 02:51:13 AM
Not sure though if you are missing something. Have attached the sample for you. Have a look and follow  the same steps.