> On Dec 17, 2016, at 6:16 AM, Manish R Jain <[email protected]> wrote: > > I'm trying to build a budget, following section 9 in the manual. > http://www.ledger-cli.org/3.0/doc/ledger3.html#Budgeting-and-Forecasting > > This command is mentioned in the doc to help determine the average spending > per expenses category. But, when I use it, the numbers are out of whack. > They're way too low. > > $ ledger -p "this year" --monthly --average balance ^expenses -f journal.ldg > > I've tried other variations like using reg, or setting -b flag instead of -p. > But, doesn't seem to work. > > Any ideas, what's going wrong?
I was literally doing this yesterday as well. I had the same problem. I "solved" it by doing the math manually. $ ledger -p "this year" balance ^expenses -f journal.ldg --amount "amount / 11.5" As I understand this redefines the amount displayed to be the original amount / 11.5. I chose 11.5 because we are approximately that far through the year. Let me know if that gives you logical values. My transactions are in about 12 currencies so I'm having trouble verifying them logically. This is also exposing a need for me to think about journal organization as some of these values are "polluted" with data that shouldn't be counted. I did conversion of data only back to 2016-01-01. The pollution is caused by my having categorized things like my 2015 tax payment as Expense:Tax:CZ:Income:2015. Not ideal in retrospect, I think. Still thinking it through. Regards, bex -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
