Fantastic! That works, thanks!

On Sunday, 10 October 2021 at 13:33:17 UTC+1 bl...@furius.ca wrote:

> Look for the HAS_ACCOUNT() function if I recall correctly
>
> On Sun, Oct 10, 2021, 04:49 Juan Antonio Navarro Pérez <
> juannava...@gmail.com> wrote:
>
>> I would like to write a query that matches all postings from transactions 
>> that involve a particular account. For example something like:
>>
>>   SELECT date, account, position FROM account ~ "Assets:Foo"
>>
>> Where I want to see not just postings for "Assets:Foo" (as WHERE account 
>> ~ "Assets:Foo" would do); but also postings for Income/Expenses showing the 
>> accounts where the units in Assets:Foo are coming from/going to.
>>
>> Is such a thing possible?
>>
>> -- 
>> 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/09fc9b9a-5f91-41d2-8194-c41646a9ab31n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/09fc9b9a-5f91-41d2-8194-c41646a9ab31n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/8f6cfc1e-42b8-4c0e-a7dc-6fad9cfd0177n%40googlegroups.com.

Reply via email to