Filter / Restrict Account Category

84 views
Skip to first unread message

Toby

unread,
Aug 23, 2021, 2:46:45 PM8/23/21
to Beancount
Hi,
I am having a little difficulty with trying to get Beancount to filter out an account sub-category. Its adding it to the total and I would like to restrict/filter the account.

Is there anyway to do this on Beancount?  I have tried using the '-' function with little success as shown here:-


Any ideas?


Toby

unread,
Aug 23, 2021, 3:22:03 PM8/23/21
to Beancount
Hi,
I have made some headway with matching the entries using the filter but not exactly.
It still includes related entries (ie. counter-accounts).
Is there anyway to filter out the counter-accounts?
Thanks

Ben Blount

unread,
Aug 23, 2021, 3:29:03 PM8/23/21
to Beancount
It would be easier to help if you give us queries and tell us what you want the output to be instead.

--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/eca65bae-a427-473b-bbef-c7b3229ed66cn%40googlegroups.com.

Toby

unread,
Aug 23, 2021, 3:54:23 PM8/23/21
to Beancount
Hi,
Sounds like a good idea.
So below is what I get when I use the filter   any(account:David)   :-

 Assets
    AccountRecievable
        David        10.00
    Cash             10.00 
 
Liabilities
    AccountPayable
        David        20.00 

What I want is David without the Cash account as follows:-

Assets
    AccountRecievable
        David        10.00
 
Liabilities
    AccountPayable
        David        20.00 


Any ideas on how to filter it so I can get the Cash account removed from the result?
Reply all
Reply to author
Forward
0 new messages