Pentaho 5.0 Reporting by Example
上QQ阅读APP看书,第一时间看更新

Time for action – configuring details

Next, we will configure Details to get the following result:

  1. We select the Data tab and drag-and-drop Zones, Products, and Quantity, placing each under the corresponding label.
    Note

    As we saw before, these objects that we just added to the report are actually the text field (Time for action – configuring details) and number field (Time for action – configuring details). This is because PRD makes mapping the data type dragged to the work area with the required insertable object.

  2. Now we will execute the report to see the results it is giving us. We press the Time for action – configuring details icon found in the shortcut bar. This will give us different format options to output the report.

    In this case, we choose Print Preview as follows:

  3. This will give us the following preview:

What just happened?

We added the fields Zones, Products, and Quantity to the Details section of our report. Then we executed our report in preview mode.