Total field type must be Date or Numeric (Error 1646)

A report expression that includes a total specification is not numeric type.