Hi @answeriver ,
Do you want to get sum of quantity based on product type?
If so, you need to firstly use GroupBy function to group rows based on product type, then use AddColumns and Sum function to add a column with the sum of quantity for each product type.
Could you show me your table's structure? fieldname, field data type?
I assume that you have a column named product(text type), a column named quantity(number type).
insert a data table, set its Items:
AddColumns(
GroupBy(table,"product","products"),
"sum of product",
Sum(products,quantity)
)
Best regards,