Re: Bug with --flat and --depth?
Ah, that looks like it. Thank you. On Tuesday, June 26, 2018 at 9:03:45 AM UTC-5, Martin Michlmayr wrote: > > * Scott Carpenter > [2018-06-26 06:13]: > > With this data: > > I think this is the same as > https://github.com/ledger/ledger/issues/1020 > > -- > Martin Michlmayr > https://www.cyrius.com/ > -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Bug with --flat and --depth?
I started looking at csv exports which is maybe something I should be using anyway, but I see there the same issue with --depth, e.g.: $ ledger csv -f temp.ldg --depth 2 "2018/06/26","","store","abc: def","$","100","","" However! Going back to my other post with data like this: 2018/06/26 store abc $50 abc: def$100 lmnop: qrs: tuv That comes out much better when not using --depth: "2018/06/26","","store","abc","$","50","","" "2018/06/26","","store","abc: def","$","100","","" "2018/06/26","","store","lmnop: qrs: tuv","$","-150","","" So I can look at doing my own depth management. On Tuesday, June 26, 2018 at 8:13:56 AM UTC-5, Scott Carpenter wrote: > > With this data: > > 2018/06/26 store > abc: def$100 > lmnop: qrs: tuv > > bal --depth 2 results in: > > $100 abc: def >$-100 lmnop: qrs > >0 > > But bal --depth 2 --flat gives: > > $100 abc: def > > -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Bug with --flat and --depth?
* Scott Carpenter [2018-06-26 06:13]: > With this data: I think this is the same as https://github.com/ledger/ledger/issues/1020 -- Martin Michlmayr https://www.cyrius.com/ -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Bug with --flat and --depth?
With this data: 2018/06/26 store abc: def$100 lmnop: qrs: tuv bal --depth 2 results in: $100 abc: def $-100 lmnop: qrs 0 But bal --depth 2 --flat gives: $100 abc: def -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Prevent totaling in --flat balance report?
Thanks, Taylor. That's probably the best advice re: account usage. I just had one account that I recently extended with a sub-account that had this problem, so I changed my setup. (I have a grid program that shows things by years that could exhibit the same behavior. Perhaps I need to use ledger's grand total rather than my own, which will at least hint at the discrepancy.) On Monday, June 25, 2018 at 7:59:41 PM UTC-5, Taylor R Campbell wrote: > > > Date: Mon, 25 Jun 2018 15:00:56 -0700 (PDT) > > From: Scott Carpenter > > > > > When I say prevent totaling, I'm not speaking of the bottom line $150, > but > > the top line. I'd like to get this result: > > > > $50 abc > > $100 abc: xyz > > > > $150 > > > > Which seems more intuitively what I'd expect, at least for a flat > report. > > Is this a thing that can happen? > > I wanted this recently. My solution was to use `abc: balance' instead > of unadorned `abc', and in general to never put funds into accounts > that have children. > -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.