I have another way in my mind that works on paper but doesn't work in Wialon.
Most likely your method doesn't work because of algorithm of table "Unfinished Rides":
"A ride is considered to be unfinished when the unit leaves the starting point, and then, not having visited any of the final points, again appears in the point marked as the beginning. It can be the same zone from where the unit left (if circle rides are not allowed), or some other geofence with a starting point mark."
So if unit has left geofence A, but haven't visited any other geofences marked as departure point, then ride is no finished, but also is not unfinished yet.
I have an idea, how you can get requested report.
It is possible to use table "Geofences". If grouping by geofences is activated, column "Time out" displays the last time of exit, while column "Time in" displays the time of the first entrance, so both of them don't suit us. But if you have some additional geofences around the geofences under control, then entrance to these additional geofences will display the required time.
1) Let's say, that you want to control polygon geofences. You should create one copy for each of them and change it's type to "Line". Width can be 1 meter. Don't forget to add one more point to make the line enclosed).
2) To make further report settings easier create group of new geofences-lines.
3) Create new report template and activate option "Consider track-geofence intersections"
4) Add table "Geofences", choose columns "Geofence" and "Time in", activate grouping by unit and geofence, no detalization is needed. Don't forget to choose previously created group of geonfences-lines.
If my advice won't be useful for you, please, contact us via email@example.com with examples of units, geofences and link to this topic.
@ Oleg ZharkovskyTechnical Consulting / Training Team"Timely is the best. But still better late than never."