Thanks, that works!

Follow up question, now I want to import the transactions into Google
sheets, so I'm using this flag to convert it to CSV.
--format '%D\t%P\t%t\n'

For e.g.
2016/08/22 Direct Debit Transaction 770.00 AUD

The issue with this formatting is that the commodity is included in the
output. Ideally, just the numbers would be output, not the commodity (only
770.00, not 770.00 AUD). Any way to achieve that?

On Tue, Dec 6, 2016 at 4:43 AM, Martin Michlmayr <t...@cyrius.com> wrote:

> * Manish R Jain <manishrj...@gmail.com> [2016-12-05 19:08]:
> > I track the reimbursements from my company on ledger. Some of these
> > are in USD and others in AUD. I want to send two expense reports
> > only containing transactions from that commodity. I couldn't figure
> > out a way to do so. Any suggestions about how to do this?
>
> You can use --limit:
>
> -l "commodity == 'USD'"
>
> --
> Martin Michlmayr
> http://www.cyrius.com/
>
> --
>
> ---
> 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 ledger-cli+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to