![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I need to have a query that does the opposite of a running sum. *I would like to show a totals column that actually decreases with each record. *The first record would need to be the total of a field and it would decrease as events happen (expire). *The result of the query will help me create a burn down chart. This is not easy to do in a query, as no real record can have the sum |
#3
| |||
| |||
|
|
I need to have a query that does the opposite of a running sum. I would like to show a totals column that actually decreases with each record. The first record would need to be the total of a field and it would decrease as events happen (expire). The result of the query will help me create a burn down chart. Any ideas? Thanks KO |
#4
| |||
| |||
|
|
koturtle wrote: I need to have a query that does the opposite of a running sum. *I would like to show a totals column that actually decreases with each record. *The first record would need to be the total of a field and it would decrease as events happen (expire). *The result of the query will help me create a burn down chart. Any ideas? Thanks KO Let's say you had an ID field and 10 records in the table; ID 1..10. And you have a field called Money. * * * * MoneySum : dsum("Money","MoneyTable","ID <= " & [ID]) That will create a column called MoneySum in your query. You could create another column * * * * MoneyTotalSum : dsum("Money","MoneyTable") You could then create a third column * * * * MoneyRunningSum : [MoneyTotalSum] - [MoneySum] I'd do something different if a form or report. |
![]() |
| Thread Tools | |
| Display Modes | |
| |