Re: Error when using beancount\parser\printer.py 'PseudoOutputFile' object has no attribute 'buffer'

2020-02-23 Thread Chary Chary
The problem on Windows is still there, but I have found workaround. The workaround is to print to file: printer.print_entry(entry,file=open('output.txt','a')) On Monday, April 8, 2019 at 9:34:17 AM UTC+2, Chary Chary wrote: > > > > On Monday, April 8, 2019 at 7:22:32 AM UTC+2, Martin Blais wro

Re: Grouping BQL columns

2020-02-23 Thread Oon-Ee Ng
Anyone? On Sat, Feb 15, 2020 at 9:31 AM Oon-Ee Ng wrote: > I have this query:- > > SELECT > year, month, account, sum(cost(position)) > WHERE > account ~ 'Assets:Banking:Institution:*' > and joinstr(other_accounts) ~ 'Liabilities:CreditCards' > GROUP BY year, month, account > ORDER B

Re: Grouping BQL columns

2020-02-23 Thread Red S
Did you try: > help targets Listed there is YMONTH(): SELECT YMONTH(date), account, sum(cost(position)) WHERE account ~ 'Assets:Banking:Institution:*' and joinstr(other_accounts) ~ 'Liabilities:CreditCards' GROUP BY YMONTH(date), account ORDER BY YMONTH(date), account DESC On Sun