000315 : Statistic field <value> must NOT be of type TEXT unless methods are FIRST, LAST, MIN, MAX, COUNT
Not all the available statistic types are valid for text fields. If using a text field, only FIRST, LAST, MIN, MAX, COUNT types are appropriate. The other statistic types (SUM, MEAN, RANGE, STD) are invalid.
Change the statistics type to a different value