Good morning! I have a SP list that tracks the status of vehicles and if they are checked in or checked out. I'm trying to build a gallery that filters the last status of each of the vehicles and only displays vehicles that are checked in. My distinct filter works, but since each of the vehicles have been checked in at one point, it returns all of the vehicles as checked in. I assume last() is the function I need to find the most recent status of the vehicle, but I cant get a working formula for it:
Distinct(Filter('Vehicle Tracker', EquipmentStatus.Value = "Checked In"),IdentificationNumber)
Can anyone help with how to get the most recent vehicle status and filter for those only checked in?
Thank you!