cumulative totals

Questionscumulative totals
edward j komeshak asked 3 months ago

Is there is a way to a column as a calculated running total of another column?  Example:

Order#    Weight      Cuml weight

A             5               5

B             10             15

C             6               21

I know this can be done using SQL SUM…OVER(ORDER BY) clause, but would prefer to do with on_data_display callback function.  With SQL clause, if user clicks on Weight column to sort, Cuml column is still based on Order #.

2 Answers
Ed K answered 3 months ago

Thanks – that works good on a page-by-page basis, but is there any way to get the running total to carry over to the next page?

Your Answer

8 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!