Forum Discussion

vgautam64's avatar
vgautam64
New Contributor III
2 years ago
Solved

Reduce an array of objects into a single object with the sum of fields as the result

I have an array of the following form:

I want to convert this array of objects into a single object that has the same fields along with Debit_Amount and Credit_Amount fields summed up.

Any help is appreciated!