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

  • 1
  • Question
  • Updated 3 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,468 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 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. 

https://community.skuidify.com/skuid/topics/dashboard-with-categories-and-totals-that-respond-to-fil...

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