I tried the two options: 1) using query and 2) using fava. These solutions work!
Thanks! 2017년 8월 6일 일요일 오전 4시 2분 15초 UTC+10, Jason Chu 님의 말: > > Fava has a drop-down that will convert all tree charts (income statement > and balance sheets) to any currency. It uses the same convert functions as > sql. > > On Sat, Aug 5, 2017, 9:58 AM Martin Blais <bl...@furius.ca <javascript:>> > wrote: > >> You can use the SQL shell's conversion function to do this. >> Something like this: >> >> bean-query /tmp/example.beancount "select account, convert(sum(position), >> 'CAD') group by 1 order by 1" >> >> It'll be able to convert as long as you have at least some price >> directives in your file to provide the exchange rate (Beancount does not >> access the network on purpose - deterministic, repeatable, no unexpected >> things - so it won't pull rates form anywhere; you have to have rates >> inserted in your file). >> >> >> >> On Sat, Aug 5, 2017 at 8:00 AM, <gksrn...@gmail.com <javascript:>> wrote: >> >>> Hi. I'm trying Beancount instead of Ledger. >>> >>> Sometimes I use another currency in business trips. >>> >>> I want to check my balances in temrs of the our currency. >>> >>> Ledger can do this by using -X option. >>> >>> How to do this in Beancount? >>> >>> Thanks in advance, >>> Hankook Lee >>> >>> -- >>> 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 <javascript:>. >>> To post to this group, send email to bean...@googlegroups.com >>> <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/beancount/b1d52a31-67d5-4043-bf57-01c8e0ff03ff%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/beancount/b1d52a31-67d5-4043-bf57-01c8e0ff03ff%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> 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 <javascript:>. >> To post to this group, send email to bean...@googlegroups.com >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beancount/CAK21%2BhN4pErx%2Bx4_-LeRYUrp3o-KK7S0SomcuCbP44sd_f9k7w%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/beancount/CAK21%2BhN4pErx%2Bx4_-LeRYUrp3o-KK7S0SomcuCbP44sd_f9k7w%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 post to this group, send email to beancount@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/ff4d6129-2974-418f-9134-0e712df4d228%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.