freshmaker
Registered User.
- Local time
- Today, 20:48
- Joined
- Nov 2, 2001
- Messages
- 12
I would like to create a query that includes "Date", "HoursUsed", and a calculated field named "RemainingBalance". The “RemainingBalance” field needs to be computed on a rolling basis and would look something like this:
480 - (Sum(HoursUsed) WHERE Date > (Date - 365 days))
In other words, 480 minus the total number of hours used during the previous 365 days.
Thanks in advance for any help!
480 - (Sum(HoursUsed) WHERE Date > (Date - 365 days))
In other words, 480 minus the total number of hours used during the previous 365 days.
Thanks in advance for any help!