Hi @dev77 ,
I assume there is a table:
ClearCollect(
NewCollection,
{'SI.No':1,Name:"A",Score:10,'Expected result':0},
{'SI.No':2,Name:"B",Score:9,'Expected result':0},
{'SI.No':3,Name:"C",Score:4,'Expected result':0},
{'SI.No':4,Name:"D",Score:6.5,'Expected result':0},
{'SI.No':5,Name:"E",Score:7,'Expected result':0}
)
Please try this formula in canvas app:
ForAll(
TampTable As TableA,
Patch(
NewCollection,
LookUp(NewCollection,'SI.No'=TableA.'SI.No'),
{'Expected result':Sum(Filter(TampTable,'SI.No'<=TableA.'SI.No'),Score)})
)
)

Best Regards,
Bof