Function <name> can't be used with <column name>.

You selected a function that can't be calculated for the type of data in this field. For example, you can't calculate the average of the SHIP_CNTRY field if the field contains text.