cumulative totals

Questionscumulative totals
edward j komeshak asked 3 weeks 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 2 weeks 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

1 + 20 =

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!