What makes you think those are calculated automatically?
If I am not wrong.
Fuel used = previous fuel level - current fuel level. I got "fuel" as calculated attribute.
Fuel Consumption: FuelUsed / (TotalDistance/1000).
Please answer my question first.
Anton,
Thank your for asking the question to get more clarification.
The logic behind the formulas I wrote in earlier reply made me think those are calculated automatically.
Where did you get those formulas? I'm trying to understand what evidence you had to make this assumption.
I couldn’t find an exact definition for “Fuel Used” in the documentation or forum, so my understanding was based on basic logic. In real situation, Fuel Used is simply the change in fuel level between the start and end of a trip. Since Traccar already shows my fuel attribute as a numeric value and it also has a field called “Fuel Used” in the reports, I assumed the system would calculate this difference automatically and add it up across trips.
My assumption for Fuel Consumption formula is wrong as I have extensively read the forum.
It all depends on what reports we're talking about.
I am reading the platform extensively and getting some solutions. But I have some questions:
1 - Could you please differentiate between the 'Fuel Used' found in pop-up info and "Spent Fuel" found in the summary reports?
2 - In on of your replies you said "...Spent Fuel is calculated as a difference between fuel level before and after...".. then why it is not available in the report/summary columns as long as I have "Fuel level" calculated attribute?
For Fuel Consumption:
Fuel Consumption is obvious to me now as I got from the forum and can be calculated as:
999999-(Your fuel rate*totalDistance)/100000
In the popup it is only displayed if reported by the device. We don't calculate it on the server. In the summary and trip reports it's calculated based on either fuel used or fuel level attributes reported by the device.
My guess it that it's not available on every position.
Got it, thank you!
For Spent Fuel, I think I should wait for enough time so that the device send enough data to test.
I have also calculated Fuel Consumption as shown in the screenshot below. Two questions about it:

Fuel consumption won't show in trips and summary.
ok, thanks for the help
Hi,
I’m able to see the "Fuel" value in both the popup information and the reports/charts.
I’m using an FMC125 and reading the fuel level from io9. The analog fuel sensor has been calibrated, and I’ve created a calculated attribute for "fuel" using my calibration table and some expressions shared on the forum.
My understanding is that "Fuel Consumption" and "Fuel Used" should be calculated automatically once the fuel attribute is available.
However, I cannot see either of them in the popup info or in the report charts. I also couldn’t find any clear method from the forum to calculate these two metrics using calculated attributes.
If I’m mistaken, could you please advise on how to make both attributes appear in the pop-up info and reports?