Post by Dmitry AstapovI did not realize that this changed in 1.9 (i am still using 1.5, as
upgrade usually involves some housekeeping work) :(
What sort of housekeeping work ? In my mind, hledger upgrades "just work".
Oh, this is just something related to how I have set things up. Since i
regularly regenerate .journal files from tons of CSV files, it is not
uncommon to find that new version of hledger either prettyprints
transactions a bit differently, or changes balance/bs reports (which i
generate and version-control) or changes the order in which CSV importer
prints out transactions (happened during 1.4 upgrade, I think). When this
happens I browse through diffs in generated journals and my reports to see
that nothing else have changed. This usually take some time, i requires me
to have no other uncommited changes in my .journal files repo, so I have to
"get ready" to hledger upgrade (though quite often upgrade is indeed
completely uneventful).
Post by Dmitry AstapovI just checked, and it looks that I will personally have to stick to 1.5
for the time being (or backport patches, or do budgeting outside of hledger
if i move to 1.9). I have forecast file which gradually becomes budget as
time moves on, and this simply does not work anymore. This file is a mix of
monthly, weekly, yearly, quarterly and one-off transactions, and if only a
subset of them is selected for balance --budget I get rather meaningless
reports :(
Oh oh. I was thinking you were in favour of this change. (I mentioned it
before release but there wasn't much response, and I pushed it out under
time pressure, trying to fill out the release.)
I went through the phase of "email bancruptcy" during Feb-Mar due to
personal circumstances and hardly read any email :(
Post by Dmitry AstapovSo, how does hledger 1.5 report your weekly budget amounts in a monthly
report, and vice versa ?
I'm not sure I understand your scheme with forecasts becoming budget.
Could you show us an example ?
Gladly! At the beginning of the year I will update my forecast file which
would list all regular incomes and expenses, as well as known one-off large
expenses that I plan for. Some income is predictable and every month, some
is less predictable and happens quarterly. Same with expenses. I am
attaching sample forecast.journal and here is how my forecast will look
Post by Dmitry Astapovhledger -M bal -f forecast.journal -b 2017 -e 2017-07 --forecast
Balance changes in 2017/01/01-2017/06/30:
|| 2017/01 2017/02 2017/03 2017/04 2017/05
2017/06
===========================++======================================================
assets:current || £733 £540 £1440 £440 £400
£1540
expenses:bills || 0 £100 £100 £100 £100
£100
expenses:car:fuel || £50 £40 £40 £40 £50
£40
expenses:car:insurance || 0 0 0 0 0
£100
expenses:council tax || £100 0 0 £100 0
0
expenses:food:groceries || £50 £40 £40 £40 £50
£40
expenses:fun || 0 £100 0 £100 0
0
expenses:home:renovations || 0 0 £100 0 £100
0
expenses:misc || £51 £40 £40 £40 £50
£40
expenses:school || £100 0 £100 0 £100
0
expenses:tax office || £100 0 0 0 0
0
expenses:travel:commute || £50 £40 £40 £40 £50
£40
income:investments || 0 0 £-1000 0 0
£-1000
income:work || £-1234 £-1000 £-1000 £-1000 £-1000
£-1000
liabilities:mortgage || 0 £100 £100 £100 £100
£100
---------------------------++------------------------------------------------------
|| 0 0 0 0 0
0
Then I will start recording my transactions in a file that !include-s
forecast.journal. As I record more and more transactions, I can now treat
same pariodic transactions not as forecast, but as budget, against which i
will compare my actual finances. I've attached forecast-plus-actual.journal
that has a bunch of "real" transactions. Here is monthly balance report
Post by Dmitry Astapovhledger -M bal -f forecast-plus-actual.journal -b 2017 -e 2017-07 --budget
Balance changes in 2017/01/01-2017/06/30:
|| 2017/01
2017/02 2017/03 2017/04
2017/05 2017/06
===========================++======================================================================================================================================================
assets:current || £2125 [139% of £1534] £1000 [185% of
£540] £1920 [133% of £1440] £901 [205% of £440] £900 [225% of
£400] £1970 [128% of £1540]
expenses:car:insurance || 0 [0% of 0] 0 [0% of
0] 0 [0% of 0] 0 [0% of 0] £100
[0] 0 [0% of £100]
expenses:council tax || £101 [101% of £100] 0 [0% of
0] 0 [0% of 0] £99 [99% of £100] 0 [0% of
0] 0 [0% of 0]
expenses:home:renovations || 0 [0% of 0] 0 [0% of
0] £90 [90% of £100] 0 [0% of 0] 0 [0% of
£100] 0 [0% of 0]
expenses:misc || £1 [2% of £50] 0 [0% of
£40] 0 [0% of £40] 0 [0% of £40] 0 [0% of
£50] 0 [0% of £40]
expenses:tax office || £101 [101% of £100] 0 [0% of
0] 0 [0% of 0] 0 [0% of 0] 0 [0% of
0] 0 [0% of 0]
expenses:travel:commute || £16 [32% of £50] 0 [0% of
£40] 0 [0% of £40] 0 [0% of £40] 0 [0% of
£50] 0 [0% of £40]
income:investments || 0 [0% of 0] 0 [0% of
0] £-1010 [101% of £-1000] 0 [0% of 0] 0 [0% of
0] £-970 [97% of £-1000]
income:work || £-2344 [105% of £-2234] £-1000 [100% of
£-1000] £-1000 [100% of £-1000] £-1000 [100% of £-1000] £-1000 [100% of
£-1000] £-1000 [100% of £-1000]
---------------------------++------------------------------------------------------------------------------------------------------------------------------------------------------
|| 0
0 0 0
0 0
As you can see (in income:investments or expenses:council tax) quarterly
expenses are displayed quite nicely here, as well as weekly
(expenses:travel:commute)
or one-off (expenses:home:renovations).
I can see that home renovations took less than expected, investments
overperformed my estimate in Q1, but were less succesfull in Q2, and I can
see that I paid for car insurance month earlier than I planned.
Post by Dmitry Astapovhledger -Q bal -f forecast-plus-actual.journal -b 2017 -e 2017-07 --budget
Balance changes in 2017/01/01-2017/06/30:
|| 2017q1
2017q2
===========================++==================================================
assets:current || £5045 [144% of £3514] £3771 [158% of
£2380]
expenses:car:insurance || 0 [0% of 0] £100 [100% of
£100]
expenses:council tax || £101 [101% of £100] £99 [99% of
£100]
expenses:home:renovations || £90 [90% of £100] 0 [0% of
£100]
expenses:misc || £1 [1% of £130] 0 [0% of
£130]
expenses:tax office || £101 [101% of £100] 0 [0% of
0]
expenses:travel:commute || £16 [12% of £130] 0 [0% of
£130]
income:investments || £-1010 [101% of £-1000] £-970 [97% of
£-1000]
income:work || £-4344 [103% of £-4234] £-3000 [100% of
£-3000]
---------------------------++--------------------------------------------------
|| 0
0
Same for weekly, early, or arbitrary period balance report with --budget:
transactions (real and budget) would be generated, aggregated, compared.
Now lets compare this to output from hledger-1.9:
Monthly
Post by Dmitry Astapovhledger-1.9 -M bal -f forecast-plus-actual.journal -b 2017 -e 2017-07
--budget
Balance changes in 2017/01/01-2017/06/30:
|| Apr
Feb Jan Jun
Mar May
===========================++============================================================================================================================================================
assets:current || £901 £1000
£2125 £1970 £1920
£900
expenses:car:insurance || 0 0
0 0 0
£100
expenses:council tax || £99 0
£101 0 0
0
expenses:home:renovations || 0 0
0 0 £90
0
expenses:misc || 0 0
£1 0 0
0
expenses:tax office || 0 0
£101 0 0
0
expenses:travel:commute || 0 0
£16 0 0
0
income:investments || 0 0
0 £-970 £-1010
0
income:work || £-1000 £-1000
£-2344 £-1000 £-1000
£-1000
---------------------------++------------------------------------------------------------------------------------------------------------------------------------------------------------
|| 0 0
0 0 0
0
Post by Dmitry Astapovhledger-1.9 -Q bal -f forecast-plus-actual.journal -b 2017 -e 2017-07
--budget
Balance changes in 2017/01/01-2017/06/30:
|| 2017q1
2017q2
===========================++====================================================
assets:current || £5045 £3771
expenses:car:insurance || 0 £100
expenses:council tax || £101 £99
expenses:home:renovations || £90 0
expenses:misc || £1 0
expenses:tax office || £101 0
expenses:travel:commute || £16 0
income:investments || £-1010 £-970
income:work || £-4344 £-3000
---------------------------++----------------------------------------------------
|| 0 0
As you can see, I do not see any budget numbers at all with hledger-1.9 :(
Post by Dmitry AstapovI think 1.9's budget report has a bug with monthly column ordering, and
the lack of complaints suggests nobody is using it yet. I'm expecting to do
a minor release. Normally that would include only bugfixes but we could
bend the rules to get more testing of budget changes before 2.0.
NOTE: if anyone gets inspired to work on budgeting, just now they should
start from the "budget" branch, which has some WIP.
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
D. Astapov
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.