Actually, you can, just prepend an "=" sign:
2017/09/09 * Gas station
Expenses:Car:Fuel 35.550 L @ EUR 1.70
Expenses:Car:Fuel:Tax 35.550 L @ EUR 0.01
Expenses:Car:Mileage = 109554 km
Expenses:Car:Washing $ 6
Assets:Wallet
(Fri, Oct 27, 2017 at 01:17:20PM +0000) Craig Earls :
> > email to
ledger-cli+...@googlegroups.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+...@googlegroups.com.
> No. A posting (individual entries) are additions or subtractions to the
> underlying account.
> On Fri, Oct 27, 2017 at 6:13 AM, Sanel Z. <[1]
san...@gmail.com> wrote:
>
> Hi guys,
> I'm trying to use ledger for tracking car expenses (maintenance, fuel
> and etc), but also I'm recording number of kilometers car went. Ledger
> transaction looks like this, with fictive numbers (L is for liters):
>
> 2017/09/09 * Gas station
> Expenses:Car:Fuel 35.550 L @ EUR 1.70
> Expenses:Car:Fuel:Tax 35.550 L @ EUR 0.01
> Expenses:Car:Mileage 109554 km
> Expenses:Car:Washing $ 6
> Assets:Wallet
>
> I'm recording mileage as currently visible on dashboard, without manual
> subtraction and ledger will happily add this number to the previous
> mileage recording, which isn't what I want.
> Is there any way to instruct ledger to subtract these values ouf of the
> box, and show only difference for transaction or given period?
> Thanks.
> Best,
> Sanel
>
> --
>
> ---
> 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 [2]
ledger-cli+...@googlegroups.com.
> For more options, visit [3]
https://groups.google.com/d/optout.
>
> --
> Craig, Corona De Tucson, AZ
> [4]missile_flyout
> [5]
enderw88.wordpress.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 [6]
ledger-cli+...@googlegroups.com.
> For more options, visit [7]
https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:
san...@gmail.com
> 2. mailto:
ledger-cli+...@googlegroups.com
> 3.
https://groups.google.com/d/optout
> 5.
http://enderw88.wordpress.com/
> 6. mailto:
ledger-cli+...@googlegroups.com
> 7.
https://groups.google.com/d/optout
--
Ismael