Re: Subtracting subtree values

2023-08-12 Thread John Wiegley
Won’t that option collapse the sub account balances into the parent?

John

On Sat, Aug 12, 2023, at 12:41 PM, david kayal wrote:
> Why not use —collapse?
> 
> On Sat, Aug 12, 2023 at 12:27 PM John Wiegley  wrote:
>> > "DC" == Dillan Chang  writes:
>> 
>> DC> If you run bal Assets, you currently get:
>> DC> $100.00   Assets:Checking
>> DC> $30.00   Virtual-A
>> DC> $70.00   Virtual-B
>> 
>> You’d need to run:
>> 
>> ledger bal -T amount '^Assets$'
>> 
>> In order to report amounts, not aggregate totals, and to confine your report
>> to exactly the Assets account alone.
>> 
>> John
>> 
>> -- 
>> 
>> --- 
>> 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/m21qg8f4eu.fsf%40newartisans.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/CAKr7iWiX2Y_ghkJ9u-_Mrs1D3c4OO5JDS%3D-dD1ieRKjB49cvZQ%40mail.gmail.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/d472c81a-81f6-41ad-96a9-2133ca3ea994%40app.fastmail.com.


Re: Subtracting subtree values

2023-08-12 Thread david kayal
Why not use —collapse?

On Sat, Aug 12, 2023 at 12:27 PM John Wiegley  wrote:

> > "DC" == Dillan Chang  writes:
>
> DC> If you run bal Assets, you currently get:
> DC> $100.00   Assets:Checking
> DC> $30.00   Virtual-A
> DC> $70.00   Virtual-B
>
> You’d need to run:
>
> ledger bal -T amount '^Assets$'
>
> In order to report amounts, not aggregate totals, and to confine your
> report
> to exactly the Assets account alone.
>
> John
>
> --
>
> ---
> 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/m21qg8f4eu.fsf%40newartisans.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/CAKr7iWiX2Y_ghkJ9u-_Mrs1D3c4OO5JDS%3D-dD1ieRKjB49cvZQ%40mail.gmail.com.


Re: Subtracting subtree values

2023-08-12 Thread John Wiegley
> "DC" == Dillan Chang  writes:

DC> If you run bal Assets, you currently get:
DC> $100.00   Assets:Checking
DC> $30.00       Virtual-A
DC> $70.00       Virtual-B

You’d need to run:

ledger bal -T amount '^Assets$'

In order to report amounts, not aggregate totals, and to confine your report
to exactly the Assets account alone.

John

-- 

--- 
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/m21qg8f4eu.fsf%40newartisans.com.