Hi John and all, John Wiegley <[email protected]> writes:
>>>>>> Richard Lawrence <[email protected]> writes: > >> So my question is, is there some way to get a correct running total when >> using --related and limiting to a subset of transactions? Perhaps by using >> --limit instead of --display, or some kind of fancy format string...? >> Nothing I have been able to come up with seems to work. > > The only way to affect the running total is either to use --total or > --display-total to change how it's computed (or displayed), or to use --amount > to change the component values that make it up. --display especially will lead > to mismatched running totals; in fact, its ability to do so is originally why > it was added, so that I could query for data subsets within the context of an > entire report. Thanks for your reply! Yes, I think that --display is not really what I want. I think what I'd like to do is limit transactions by the *related* account, something like ledger --limit 'related =~ /assets:Me/' reg expenses:shared I don't see a way to do this using the available expressions, but I'm pretty new to this; maybe I've overlooked something? Best, Richard -- --- 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.
signature.asc
Description: PGP signature
