319
edits
Changes
→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>
</ol>