Thanks, that seems to have worked.
On Tuesday, November 8, 2022 at 8:47:15 PM UTC-7 Martin Michlmayr wrote:
> * Robert Shanley [2022-11-08 17:51]:
> > = expr payee == "Joe"
> > SetAside $100
> > MoreMoney -$100
> >
> > 2022/01/05 * Joe
> > Stuff $600.00
> > Checking
> >
> > What am I doing wrong?
>
> My guess is that it's evaluated for each posting, so once for Stuff
> and once for Checking. Therefore $200
>
> You could do something like:
>
> = /Stuff/ and expr payee == "Joe"
> SetAside $100
> MoreMoney -$100
>
> --
> 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/c1552310-e66f-4168-9aaf-5a742e0a8848n%40googlegroups.com.