Greetings,
I'm trying to create a monthly report from all accounts. Let's use the
following journal file as example:
*#transactions.txt *
2019/01/01 * Groceries
Expenses:Food:Groceries $10
Assets:Checking
2019/02/02 * Groceries
Expenses:Food:Groceries $10
Assets:Checking
2019/02/02 * Car
Expenses:Auto $100
Assets:Checking
And execute the command: *ledger --args-only -f transactions.txt reg
^Expenses -M -V --no-rounding --group-by account*
Expenses:Auto
19-Feb-01 - 19-Feb-28
Expenses:Auto
$100 $100
Expenses:Food:Groceries
19-Jan-01 - 19-Jan-31
Expenses:Food:Groceries
$10 $10
19-Feb-01 - 19-Feb-28 Expenses:Auto
$100 $110
Expenses:Food:Groceries
$10 $120
This report show all expenses group by account over time. But I would not
expect the Expenses:Auto appears on Expenses:Food:Groceries group.
I could execute one command per account like:
ledger --args-only -f transactions.txt reg ^Expenses:Food:Grocerie -M -V
--no-rounding
and it wold output as expected but I have a lot of accounts in my ledger
file and I'm trying avoid this option.
Can anyone help me generate this report without running one command per
account?
Thanks,
Talles
--
---
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.