COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: UseCog on 27 Oct 2009 11:46:39 AM

Title: Repeating same reports in a PDF with different values in a prompt
Post by: UseCog on 27 Oct 2009 11:46:39 AM
Hi All,

I have list report and It has a filter. But now I have a requirement to create a single PDF file usign this report by combining all the reports which is created from all(each and every) values values of the filter.

eg: my filter is on different designations in the organization and i want to pass each designation to this report and produce a single report which needs to get into a single PDF file

please offer your comments here

Thanks in advance
Title: Re: Repeating same reports in a PDF with different values in a prompt
Post by: billylodz on 28 Oct 2009 03:54:07 AM
not sure if it's what you need
but
if you need to run report for all values from filter, add static choise to prompt like "All"

and in filter for the query add


[xxxxx]=?Parameter?
or
?Parameter?='All'
Title: Re: Repeating same reports in a PDF with different values in a prompt
Post by: UseCog on 28 Oct 2009 04:43:24 AM
I would like to repeat the list report for each parameter selection (after enabling multiselect), to be combined into one report.

I dont think 'All' will help here

any other thoughts
Title: Re: Repeating same reports in a PDF with different values in a prompt
Post by: DSR on 28 Oct 2009 06:42:10 AM
Hi,

The below idea may help you to get your output as you required....

First you need to have that filtered values column in your report/list.

Then you need to create section on this column and then you need to create page breaks on the column which ever your using for the filter.So that your report is going to split based on the different values in your filter column rows/value.

This will give you total report in a single PDF file separating with different values in different pages.

Good luck.... :)

Regards,
Sanjeev
Title: Re: Repeating same reports in a PDF with different values in a prompt
Post by: Sreeni P on 30 Oct 2009 12:13:36 PM
Yeah.... it will helps u to create report,using above approach...
Title: Re: Repeating same reports in a PDF with different values in a prompt
Post by: UseCog on 04 Nov 2009 05:22:10 AM
Thanks Sanjeev and Sreenivas
Title: Re: Repeating same reports in a PDF with different values in a prompt
Post by: billylodz on 04 Nov 2009 05:52:53 AM
create new page in new page set, so the first page will contains total data , and the pages from page set for all possible fileter.

do not use any filter for query

use new query for page set.
and for list/crosstab on page from page set use Master Data Relationship option.