Hi Vladimir,

If you want to exclude specifically Restaurant, you can do
$ ledger bal Expenses:Food and not Expenses:Food:Restaurants

if you want only Expenses:Food and not any subaccount, you’re looking
for
$ ledger bal '^Expenses:Food$'

Kind regards,

(Wed, Apr 10, 2019 at 09:11:25AM -0700) Vladimir Parfinenko :
> Hi all,
> 
> My expenses have nested accounts like "Expenses:Food" and 
> "Expenses:Food:Restaurants".
> 
> 2019-04-09 Sample
> Expenses:Food $10
> Expenses:Food:Restaurants $20
> Assets
> 
> Balance report shows total amount for account "Expenses:Food" (including 
> "Expenses:Food:Restaurants"):
> 
> $30 Expenses:Food
> $20   Restaurants
> 
> Is it possible to see balance of Food account without including Restaurants 
> (i.e. $10)?
> Does anybody have the same problem?
> 
> --
> Vladimir Parfinenko
> 
> -- 
> 
> --- 
> 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.

>    Hi all,
>    My expenses have nested accounts like "Expenses:Food" and
>    "Expenses:Food:Restaurants".
> 
>    2019-04-09 Sample
>    Expenses:Food $10
>    Expenses:Food:Restaurants $20
>    Assets
> 
>    Balance report shows total amount for account "Expenses:Food" (including
>    "Expenses:Food:Restaurants"):
> 
>    $30 Expenses:Food
>    $20   Restaurants
> 
>    Is it possible to see balance of Food account without including
>    Restaurants (i.e. $10)?
>    Does anybody have the same problem?
>    --
>    Vladimir Parfinenko
> 
>    --
> 
>    ---
>    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 [1][email protected].
>    For more options, visit [2]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:[email protected]
>    2. https://groups.google.com/d/optout



-- 
Ismael

-- 

--- 
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.

Attachment: signature.asc
Description: PGP signature

Reply via email to