I'm unaware of a way to produce the exact report that you're looking for, but the following will produce a monthly total (income + expenses) and a running annual total that is quite helpful.
ledger reg ^inc ^exp -p 2021 --monthly --empty --collapse --no-revalued The other option is to run the same report twice, each time with a slight tweak. The first version of the report will show your income by month, and the second your expenses by month. ledger reg ^inc -p 2021 --monthly --empty --collapse --no-revalued ledger reg ^exp -p 2021 --monthly --empty --collapse --no-revalued Hope that helps. On Tuesday, October 19, 2021 at 1:17:37 PM UTC-5 Juan wrote: > I would like to see my income versus expenses by month. Just the total of > Expenses and the total of Income by month for this year. > > Here are the command I have: > > ledger -M --period-sort "(amount)" reg ^Expenses ^Income --invert -p "this > year" > > and > > ledger -M --period-sort "(amount)" bal ^Expenses ^Income --invert -p "this > year" > > Here is what happened: > > I was given a list of all expense and income accounts with totals. > I was give a total of all categories not separated by month just a list of > all totals from all categories. > > Can someone help me? > > What I would like to see is something like this: > > 1/2021 Income: $total Expenses: $total > 2/2021 Income: $total Expenses: $total > 3/2021 Income: $total Expenses: $total > etc, > etc, > > Is this possible? Can someone help me? > > > -- --- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/dfa09221-c3a9-468c-bcf4-7c5fffd72be6n%40googlegroups.com.
