Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Function to sum list column; use sum as variable in SPUpdateMultipleListItems

I have a list with 4 rows and 4 columns:
  • Company
  • AllocatedDollars
  • TotalDollars
  • Allocated %
    Is there a function or approach I can use to get the total of the AllocatedDollars column, and then use SPUpdateMultipleListItems to set TotalDollars in each row to that total? Allocated% is a calculated column =[AllocatedDollars]/[TotalDollars] - in order to keep Allocated % current I need to update TotalDollars any time a user updates AllocatedDollars. We currently do this manually since there are only 4 rows of data, but I've been asked to automate this procedure.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>