This project has moved and is read-only. For the latest updates, please go here.

SUM Calculation in 1:n Sharepoint list association.

May 8, 2014 at 1:40 PM
hi Folks,

i got 2 SPLists the 1st one for the Projects and the 2nd for the Project Tasks.

The 2nd contains a cost column.Now i would like to Display the aggregated sum of the costs in the Project list in relation to the 2nd where the Projectname is equal.

thx for your help
May 8, 2014 at 1:41 PM
That's a pretty basic JavaScript thing. You'd retrieve all of the items in the second list you want to sum, loop through them accumulating the total, and then display it in the page.