Reader small image

You're reading from  Pentaho 5.0 Reporting by Example: Beginner's Guide

Product typeBook
Published inAug 2013
PublisherPackt
ISBN-139781782162247
Edition1st Edition
Tools
Right arrow
Author (1)
Right arrow

Time for action – modifying functions and page breaks


Follow these steps to modify functions and page breaks:

  1. If we pay attention to the values being reported by our report's functions, we will see that the calculations are not being correctly performed by the group. In order to fix this, we should make the following modification:

    • Reset on Group Name = GroupCountry

  2. We can now perform a preview to see that the calculations are being performed correctly.

  3. We will now configure our report so that each country begins on a new page. We will go to the Structure tab, navigate to Master Report | Group, and make the following modification:

    • Style.pagebreak-after = true

What just happened?

We configured the functions of our report to correctly perform their calculations on a per-group basis, and then configured the Group section so that each new country begins on a different page.

Learning more about groups

A basic requirement for creating groups is that the data set should be ordered according to the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Pentaho 5.0 Reporting by Example: Beginner's Guide
Published in: Aug 2013Publisher: PacktISBN-13: 9781782162247