lundi 2 février 2015

How to group by a column and sum its value

I have a sharepoint list. In that, there are 2 columns location and amount. I want to group the values by location and calculate the values of the column amount and show it in a field as sum.


For example : Location Amount A 100 B 200 C 100 A 200 B 200


My output will be Location A Sum 300 Location B Sum 400 Location C Sum 100


I want to achieve this through javascript code. I dont want to apply custom code.


Aucun commentaire:

Enregistrer un commentaire