Compiler Error AL0203
Note
The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!
Cannot calculate Sum or Average for the field {0} because it is not a numeric field (Decimal, BigInteger, Integer, or Duration data type).
Description
Only fields of the numeric type (Decimal, BigInteger, Integer, or Duration) can be used to calculate Sum or Average for a field.