i have a query with columns:comapny, account, year, month, balance.
The "balance" field shows the accumulated balance for the accounts for the year/month. I want to add an other column in which i will have the balance of the month (not the accumulated balance) for some of the accounts. I am looking for a way to add another field that will calculate that balance - the difference between the balance of the monthe and the previous month (for the same company,account and year), only for the accounts that starts with the digit 3 .
Thanks
The "balance" field shows the accumulated balance for the accounts for the year/month. I want to add an other column in which i will have the balance of the month (not the accumulated balance) for some of the accounts. I am looking for a way to add another field that will calculate that balance - the difference between the balance of the monthe and the previous month (for the same company,account and year), only for the accounts that starts with the digit 3 .
Thanks