A Result report type is one that displays a simple list of group members and some associated aggregate data. Click here to see examples.
The code to generate Result reports looks like this:
#the RESULT command indicates a block of related report results{|RESULT|}
<table class='data'>
<thead>
<tr>
<th>Name</th>
<th>Count</th>
</tr>
</thead>
<tbody>
#here we are looping the months of the year
#we are also indicating that they should be sorted by their "order num"
{|LOOP|RESULT.MONTH_OF_YEAR(SORT=ORDER_NUM)}
<tr>
#this displays the name of the month
<th>{MONTH_OF_YEAR.NAME}</th>
#this displays a count of datapoints that fall within this month
<td>{COUNT(MONTH_OF_YEAR)}</td>
</tr>
#this closes our loop
{/|LOOP|}
</tbody>
</table>
#this closes the RESULT block
{/|RESULT|}