Want to add table sums from different tables. Need the javascript that refers these "sum" totals...

  • 1
  • Question
  • Updated 4 years ago
  • Answered
We have three objects that have table column sums. We want to add these through javascript to get the total of all three. How do we reference these totals in javascript?
Photo of Anna Orias

Anna Orias

  • 1,508 Points 1k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,828 Points 20k badge 2x thumb
Unfortunately - table sums are not availalbe for use in Javascript. 
However there is a method that can be used to gather data across a full table and make it available for use in Javascript.  Below is a link to a topic where I sum information about a single table for use in a dashboard KPI widget.  You could extend this method to create the sum of the rows in both models and add that together for display on your page. 


Good luck!  We'd love to see your solution.