Changes

Jump to: navigation, search

Summarize iReport Template Data

489 bytes removed, 20:02, 19 September 2013
Displaying Counts
<ol>
<li>Expand the appropriate section to the report. If you would like to add the number of records in the report, you will need to expand the summary section of the report. If you would like to add the number of records for each group, you will need to expand the <''GroupField''>Footer section.</li>
<li>From the '''ViewReport Inspector''' menu, select '''Variables'''.</li>
:The REPORT_COUNT variable will always be available in the Variables list. The variable to display the count for the group will only be displayed if the report contains groups.
<li>To display the number of records in your report, drag the REPORT_COUNT variable to the summary section of the report.</li>
{{note|It may be helpful to add a text label beside any counts that you add to report to identify the value. To add a text label, click the [[Image:iRepText.png]] icon. }}
===Displaying Totals===__NOEDITSECTION__iReport allows you to display the total of a particular attribute in the report. This is done by creating a variable to store the total value (see [[Modify an iReport Template#Adding a Variable to an iReport Template| Adding a Variable to an iReport]]
To display a total:
<ol>
<li>Ensure that a group footer or summary section has been added to the report.</li>
<li>From the Library pane, click [[Image:iRepTotal.png]].</li></ol> {{note|If the Library pane is not displayed, display it by doing the following:<ol><li>From the '''ViewReport Inspector''' menupane, select choose '''Docking PanesVariables'''.</li><li>From the '''Docking Panes''' menu, select '''Library'''.</li></ol>}} <ol start="3"><li>Drag and drag the [[Image:iRepTotal.png]] variable to the footer or summary section of the report. If you drag it to the footer, the total for the values in the group will be calculated. If you drag it to the summary, the total for all values will be calculated.</li>:A window displays to allow you to select the object to sum.</ol> [[Image:iRep23.png|center|500px|''Figure 23. Window to select object to sum'']]<div align="center">''Figure 23. Window to select object to sum''</div> <ol><li>Double-click ''Fields''.</li><li>Click the name of the attribute that you would like to sum.</li><li>Click the '''OK''' button.</li>
</ol>
319
edits

Navigation menu