COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: adam_mc on 05 Jan 2016 10:30:43 AM

Title: RESOLVED: Multiple Lists from Multiple Queries - Need Page Break on Common Item
Post by: adam_mc on 05 Jan 2016 10:30:43 AM
Sorry, having a little brain freeze and hope someone can help me out quickly...

For a Dimensional Data Source:

I have a Report containing 4 lists produced from 3 Queries.
Each has a common element, say Product ID.

I need to create a page of output for each Product ID.

Tried Sectioning each list and setting Page Break, but output is unpredicatable and not as required.

Would greatly appreicate any help.
Thanks in advance,
Adam.
Title: Re: Multiple Lists from Multiple Queries - Need Page Break on Common Item
Post by: Lynn on 05 Jan 2016 10:44:27 AM
Quote from: adam_mc on 05 Jan 2016 10:30:43 AM
Sorry, having a little brain freeze and hope someone can help me out quickly...

For a Dimensional Data Source:

I have a Report containing 4 lists produced from 3 Queries.
Each has a common element, say Product ID.

I need to create a page of output for each Product ID.

Tried Sectioning each list and setting Page Break, but output is unpredicatable and not as required.

Would greatly appreicate any help.
Thanks in advance,
Adam.

You could try creating a query that has only the product ID in it. Associate that query to the page and set a page break.

Then create a master-detail relationship between that query and each of your list reports based on product ID.
Title: Re: Multiple Lists from Multiple Queries - Need Page Break on Common Item
Post by: adam_mc on 05 Jan 2016 11:07:29 AM
Thanks Lynn that worked perfectly.

Knew I'd done it before, just a little reminder needed.

Thanks so much,
Adam.