Spent Fuel

Fadi2 years ago

Hello everyone

my gps device does not return fuel level, my question, Is it possible to use calculated attributes to calculate spent fuel attribute based on distance?

if no, can anyone help me with expression to make computed attributes that calculate spent fuel based on distance ?

Thank you

Anton Tananaev2 years ago

It is possible, kind of. This has been discussed before. Try searching.

Fadi2 years ago

actually i tried to search a lot

i found nothing to configure spent fuel in trips report to let it read from computed attributes

also i tried expression 999999-(totalDistance *6)/100000 its return huge number when click test , and show nothing in route report in Fuel Consumption field

please advice

Anton Tananaev2 years ago

Obviously it won't show in the route report, which shows the raw original data from the device. It will show in the trip report.

Fadi2 years ago

Thanks a lot for your time, another important question for me please

Is there a way to show fuel calculated based on distance in daily summery report?

Anton Tananaev2 years ago

Yes, it should show in the summary as well.

Fadi2 years ago

maybe ii missed something

all available colums available in summery report appear are Start Date, Distance, Odometer Start, Odometer End, Average Speed, Maximum Speed, Engine Hours, Spent Fuel (supose its read from device)

How can i show Fuel (computed attribute - fuel based on distance)

Thank you

Anton Tananaev2 years ago

Did you try to share a screenshot? It didn't work.

Fadi2 years ago

Yes to show all available columns in summery report

this this new link to share image

https://ibb.co/XFdz37b

Anton Tananaev2 years ago

There's "Spent Fuel". Is that not what you want?

Fadi2 years ago

I am a little bit confused, i supposed Spent Fuel read from device only and can not make it computed attribute to calculate fuel based on distance

please advice

Anton Tananaev2 years ago

Where did you get that information from? Spent Fuel is calculated as a difference between fuel level before and after.

Fadi2 years ago

i am using teltonica fmb120, no any information come about fuel level i think

Anton Tananaev2 years ago

That's why you need to set up fuel level computed attribute.

Fadi2 years ago

if possible

can tell me from where to start to set up fuel level computed attribute, in device or how?