Thanks for helping us improve!
The following special aggregation functions can be used for input fields.
inputavg() returns the aggregated average of inputfield iterated over the chart dimension(s). inputfield must be a field name of a field properly declared as an input field in the script.
inputsum() returns the aggregated sum of inputfield iterated over the chart dimension(s). inputfield must be a field name of a field properly declared as an input field in the script.