* Martin Michlmayr <[email protected]> [2014-09-30 12:49]:
> > > Is it possible to do a register report for ^Expenses, but only for the
> > > amounts that were taken from Assets:Cash?
> > 
> I believe the following works best:
> 
> reg '^Expenses' and expr 'any(account =~ /^Assets:Cash/)'

... although this has the problem of showing the complete expense, not
just the amount taken from Assets:Cash.  So if you have an expense of
$10 ($5 in cash, $5 from your bank account), you'd get $10 and not $5
with my query.

-- 
Martin Michlmayr
http://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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to