Thanks for all the help guys. It works, these commands feel advanced. Having searched specifically for these commands, they're present in the docs, but I'd have never put those together via the documentation myself.
Honestly I think the documentation could use simplification and/or a rewrite in a wiki format. -- Thanks! Cheers, Manish Founder/CEO, Dgraph Labs +61-487138931 https://calendly.com/mrjn On Tue, Dec 06, 2016 at 10:48:51AM +0100, Lifepillar wrote: > On 06/12/2016 02:25, Daniël Bos wrote: > > > 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/22Direct Debit Transaction770.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? > > Try --format '%D\t%P\t%(quantity(get_at(display_total, 0)))\n' > > Enjoy, > Life > > > -- > > --- 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
