I've been searching for answer to this question but sadly I don't see that will answer my question. I have an expense collection that looks like this
{ subcategory: 'Category-1', amount: 320 },
{ subcategory: 'Category-2', amount: 148 },
{ subcategory: 'Category-1', amount: 500 },
{ subcategory: 'Category-3', amount: 672 },
{ subcategory: 'Category-3', amount: 196 },
{ subcategory: 'Category-1', amount: 298 },
... etc
and I wanted to show in my summary report through my table like this
**Category Name** **Amount**
1. Category-1 1118
2. Category-2 148
3. Category-3 868
which I am then going to render these data on my table template
{{#each expensesentries}}
<tr>
<td>{{category}}</td>
<td>{{formatAmount amount}}</td>
</tr>
{{/each}} `
Thanks.