I have a SP List/Power App for vehicles. From below, the Vehicle No is the left column (i.e., 2, 9, 14, 21, etc.)

Currently, the "Items" properties is...
LookUp(VehInsp,
VehNo.Value = ThisItem.VehNo,
Text(Max(CurrentMileage),"#,#.0"))
For the gallery I would like to capture the max mileage value by Vehicle Number. Currently the Items is collecting the first record by Vehcile No.