I just noticed one problems with the use of PARENT(). This assumes
that all of your accounts have the same depth.
It might be better to use something like splitcomp(account, ":", 1).
This will give "Foo" for both Expenses:Foo:Bar and Expenses:Foo
Whereas PARENT(account) would give Expenses:Foo for the first and
Expenses for the latter.
(Daniele, is there a nicer way than splitcomp(account, ":", 1)?
Getting a particular subaccount seems pretty common. Also, I
couldn't figure out a way to extract 2 subaccounts - Expenses:Foo:Bar
should yield Expenses:Foo and Expenses:Foo should also yield
Expenses:Foo; is that possible?)
* Martin Michlmayr <
t...@cyrius.com> [2023-12-21 18:51]: