Incremental total in a view (row by row basis)

By: Nicola Gammarrota | Asked: 02/08/2023
ForumsCategory: How-toIncremental total in a view (row by row basis)
Nicola GammarrotaNicola Gammarrota asked 1 year ago
Hi, I can't find a way to get incremental totals on each row of a view.
I have a cash book where I report all the spending or revenue transactions of my association. On each row I would like a field that shows the balance up to that moment (total balance of previous operations + or - current operation).
The shortcode [frm-stats id=x type=count] d'ont have a parameter to calculate values like this.
I would like to have a suggestion. Thank you.
2 Answers
Bobby Clapp answered 1 year ago

[frm-stats id=x type=total] should get you close as it totals all values of a field.

The shortcode bit [frm-condition source=] allows some flexibility in combining different aspects of making calculations. Maybe play with that a bit too.

Nicola GammarrotaNicola Gammarrota answered 1 year ago
Thanks for the suggestion, I'll try. :) 

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community