COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: psrpsrpsr on 29 Aug 2017 08:03:41 AM

Title: Page layout conventions - how do I get a block to break to the next page?
Post by: psrpsrpsr on 29 Aug 2017 08:03:41 AM
I have a report for which I need to display 5 charts, 4 on one page, 1 on the second page. I have a table with 2 columns and 3 rows, and there are no size properties set on the charts or the blocks in which their titles sit.

The report is displaying the 5th chart block (with the title in it) on the first page, even though it belongs on the second page. I have tried adding padding to the top of that table cell to bump all of the cell contents to the next page, but this is giving me mixed results.

What is the convention for page layout in this scenario? This should be a fast and simple process IMO.

(http://i1305.photobucket.com/albums/s557/PSRNHME/Chart%20title%20-%20how%20to%20break%20to%20next%20page_zpsuwka6zyp.jpg) (http://s1305.photobucket.com/user/PSRNHME/media/Chart%20title%20-%20how%20to%20break%20to%20next%20page_zpsuwka6zyp.jpg.html)
Title: Re: Page layout conventions - how do I get a block to break to the next page?
Post by: Lynn on 29 Aug 2017 08:17:07 AM
How about two separate pages? First would have a two column/two row table for charts 1 through 4. Second page layout would have just chart 5 laid out as needed.
Title: Re: Page layout conventions - how do I get a block to break to the next page?
Post by: psrpsrpsr on 29 Aug 2017 09:28:29 AM
That's a good idea, I'll try that. Is what I'm describing a fairly typical scenario, though? I've searched Google far and wide to identify how page breaks of tables with multiple charts would/should work, and there is almost nothing worthwhile out there.

It seems like everything problem I run into in Cognos is non-intuitive - I would think that one of the foremost BI tools would offer page layout options that preclude this sort of predicament.
Title: Re: Page layout conventions - how do I get a block to break to the next page?
Post by: hespora on 30 Aug 2017 03:07:56 AM
I agree with you that a great deal of the layouting is hugely unintuitive, but "i always want two pages, so i best drag two pages into my report" seems to be among the most intuitive things I can think of. ;)
Title: Re: Page layout conventions - how do I get a block to break to the next page?
Post by: CognosPaul on 30 Aug 2017 08:20:17 AM
Another thing to consider is the "Allow row contents to break across pages" checkbox under pagination. If your page dynamically renders sections, you could put each object in tables in the main table cell.
Title: Re: Page layout conventions - how do I get a block to break to the next page?
Post by: Invisi on 30 Aug 2017 09:13:02 AM
You start with: "I have a table with 2 columns and 3 rows." So, for me at least, you basically relate the grahps with each other in one table. Then why do you expect Cognos to break that relationship? I agree with Lynn that 2 pages is logical.

Another question I have is why you want charts on multiple pages. Usually 5 charts easily fit on a screen or one page and are still readable. Is that fifth chart rather large compared to the others?