Community

[Solved] How to sum this row field and previus row field?

Lets say I have 1000$.

1.day I earn 50$. I want that view row to show me that I have 1050$ now.
2.day I earn 50$. I want that view row to show me that I have 1100$ now.
3.day I earn 80$. I want that view row to show me that I have 1180$ now.

I want to show:
views-row-1: 1050$
views-row-2: 1100$
views-row-3: 1180$

Can I do that with views only? Is there a module for this?

Comments

With Drupal's modularity and

With Drupal's modularity and your programming skills, anything is possible. Is it imperative, however, that you don't use views (and calculated field module)

I solved it! I used Global:

I solved it! I used Global: Math Expresion in views.
The expresion I used is
[expression] + [field_daily_profit]

Why won't you use views?

Why won't you use views?

nobody click here