I am stuck to find a solution for views with running sum... Adding a custom field in the view can be done but how....? I am not referring Views_cal or whatsoever.. just simple running sum field on each row like autonumber but calculate.... Any Ideas?
| Profit | Run Profit | |
|---|---|---|
| 10 | 10 | |
| 25 | 35 | |
| 30 | 65 | |
| -10 | 55 |
like???
Comments
Comment #1
mroscar commentedNOONE?
Comment #2
dawehnerPlease be kind here in the issue queue
Maybe something is possible with the global: math field, which got adding in views 3.x, but i don't how to access the previous line. As you assigned the issue to yourself i'm looking forward to the solution you found yourself.
Comment #3
mroscar commentedI Unassign myself as well as if I sounded rude... Just looking for solution... thanks anyway
Comment #4
mroscar commentedFinally after struggling a few days finally I was able to create a Running Sum field in views.
and it was;
1- Added Global: Math expression to my view then
[expression]+[field_proff_value]2- unchecked
Do not rewrite if empty3- removed the thousand seperator
but still am getting
unexpected operator '+' Errorthis must be because of the first calculation since expression is not available then... am trying to fix that too...
Comment #4.0
mroscar commentedupdate
Comment #5
mroscar commentedComment #6
dawehnerThe error you described was fixed in in 7.x-3.x, but not in 6.x-3.x.
It should be though possible to be able to fix that.
Comment #7
mustanggb commented