RainLover:
I tried Dsum, but it didn't work.
=DSum("[Days]","[Vehicle Type]='H. Truck'")Plog:
=Sum(IIf(VehicleType= " H.Truck ", Days, 0))When I use this expression and run the report, it shows the dialog box asking for Vehicle Type and Days and did not show the total days.