On Jan 12, 2015, at 4:05 PM, David Glasser <[email protected]> wrote:
> However, this doesn't support the case where there are four different
> accounts involved; eg, let's say I pay a healthcare expense with a
> credit card, cash, or another bank account from the one that i have
> FSA reimbursement set up with.  I really just want to be able to say
> "show me the sum of all FSA:R1234 postings, no matter what account
> they are to".

You can do this with

ledger bal --pivot FSA --depth 2 %FSA

The pivot command prepends “FSA:R1234” to the applicable accounts. Depth 2 
collapses anything deeper. Then %FSA restricts to only those that have an FSA 
tag. As previously mentioned, use --empty to include tag values even if they 
sum to zero.

Nathan

-- 

--- 
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