How to callculate number on record

How to callculate number on record

Example, i have 1 form. And have field Total Peminjaman. I want to callculate with some criteria for Total Peminjaman on record.

Im try using collection, just get result like this 
example:
1
2

i want that to be, 1,2
and i'll callculate 1+2 = 3 

Please help me, one day im very stuck on this.


Mungkin gambar teksMungkin gambar teks