guywal
guywal
NNovu
Created by guywal on 1/4/2024 in #💬│support
Template handlebars helper - groupBy digest aggregation
Hi, is there currently a way to "groupBy" the values of a field on events in a digest and aggregate them? For example, if I have a digest with 2 events [{ count: 2 }, { count: 3 }] and I want to create <h1>5</h1> element in my template (sum the field count). Thanks
3 replies