Hello, all!

Let's start with small example:
; example.ledger

2016/05/31 car
    expenses:car:gas      100$
    expenses:car:repair  1000$
    expenses:other          5$
    assets:cash

It is possible to limit level of balance report to depth=2 and get 
following report:
ledger -f example.ledger bal expenses --depth 2
               1105$  expenses
               1100$    car
                  5$    other
--------------------
               1105$
As you can see, for each second level account we get subtotal of all child 
accounts, i.e. expenses:car = expenses:car:gas + expenses:car:repair

I would like to get similar effect for register monthly report. For 
instance regular register report shows:
ledger -f example.ledger reg expenses -M
16-May-01 - 16-May-31           expenses:car:gas               100$         
100$
                                expenses:car:repair           1000$        
1100$
                                expenses:other                   5$        
1105

I do not want such detailed report, what I want is to limit depth to 2 and 
get subtotals for each second level account, similar to above balance 
report. Something like:
ledger -f example.ledger reg expenses -M
16-May-01 - 16-May-31           expenses:car                  1100$        
1100$
                                expenses:other                   5$        
1105$

How to achieve this?

-- 

--- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to