I am new to Appgyver and having some issues trying to sum item amount by category in a repeated list and hope someone could provide some pointers.
I have a list with 3 properties i.e. Category, Icon and Amount for which I need to group by category and compute the total Amount under each category. I have tried using the GROUP formula below to group by category but having problems with grouping formula to compute the total amount by category.
can you check if all your “total” fields have values in them? If so, are they correctly interpreted as numbers? If not, you can try the following:
instead of SUM_BY_KEY(items, “Amount”)
do SUM(MAP(items, NUMBER(item.Amount)))
This should make sure that all summed items are truly numbers.