Collapse will fold all of the nested accounts into the top level. I think the OP is looking for something different. I think he wants to have the top-level line in the report to include only those amounts that aren't included in a nested account.
To use his example data, the collapse flag would provide this: 700 expenses what he wants (I think) is this: 100 expenses ; <-- note that this 100 is the expense amount that doesn't have a subcategory 200 bar 400 foo I'd like to be able to do this (or, if it's already possible, to know how to do it) as well. On Friday, November 1, 2013 2:26:12 PM UTC-4, Craig Earls wrote: > > Try --collapse > > > On Fri, Nov 1, 2013 at 10:25 AM, Vladimir Parfinenko < > [email protected] <javascript:>> wrote: > >> Hi, >> >> Is it possible to report balance of accounts without their subaccounts? >> >> I need something like some-magic-option: >> >> $ cat test.ledger >> >> 2013-11-2 >> expenses 100 >> assets >> >> 2013-11-2 >> expenses:foo 200 >> assets >> >> 2013-11-2 >> expenses:bar 400 >> assets >> >> $ ledger bal expenses >> 700 expenses >> 400 bar >> 200 foo >> -------------------- >> 700 >> >> $ ledger bal expenses --some-magic-option >> 100 expenses >> 400 bar >> 200 foo >> -------------------- >> 700 >> >> >> -- >> >> --- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Craig, Corona De Tucson, AZ > enderw88.wordpress.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/groups/opt_out.
