Defining page sets
In a grouped report, it might be sensible to start a new group at a new page. In this recipe, we will see how to achieve this for the product line grouping.
Getting ready
We will use the report generated in the previous recipe for this recipe.
How to do it...
In this recipe, we want to start each new group on a new page. To do this perform the following steps:
Open the report in Report Studio and go to Page Explorer.
From Toolbox, drag a new Page Set.
Move the existing report page under this new Page Set (within Detail Pages) as shown in the following screenshot:
Now select the Page Set, and from its Properties, set the Query to the one being used from the report list (that is, Query1) as shown in the following screenshot:
Open the Grouping & Sorting dialog and drag the Product line under Groups as shown in the following screenshot:
Now run the report to test it.
How it works...
When we create Page Set, Cognos generates the report output as a bunch of pages rather than one continuous...