On Sun, May 3, 2020 at 3:28 AM david whiting <
david.r...@gmail.com> wrote:
>
> OK, I think I've got a way to do it. I'd be interested to know if this is the right or best way. I think that part of the problem was that I was not thinking about this in the right way and was trying to do too much in one go with historical data. For our club I set an annual budget and want to compare the actual expenditure against the budget at the end of the year. So I really only need to focus on one year at a time. So now in my ledger data file I have:
>
> ~ every 10 years from 2018/08/01 to 2019/07/31
> Expenses:Refs:T0007-R 200 GBP
> Assets:Current Assets:Bank account
>
> (I've used 10 years as an arbitrary time period, it could also have been 2 years)
>
> And then when I run my report I use:
>
> ledger -f byfc-ledger-test.dat --budget -b 2018-08-01 -e 2019-08-01 reg Expenses\:Refs\:T0007-R
>
> This then gives me the sort of output I was expecting for that account. Is this the right approach?
>
do have one flaw that I can see. (In the accounting logic.)