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

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?

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.skuid.com/t/dashboard-with-categories-and-totals-that-respond-to-fil…

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

1 Like