# Special input field aggregation functions

Use the drop-down on each function to see a brief description and the syntax of each function. Click the function name in the syntax description for further details.

The following special aggregation functions can be used for input fields.

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/Scripting/SpecialInputFieldAggregationFunctions/special-input-field-aggregation-functions.htm)

#### inputavg

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.

[inputavg](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/SpecialInputFieldAggregationFunctions/Inputavg.htm) ([inputfield [, distribution\_mode][set\_expression])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/Scripting/SpecialInputFieldAggregationFunctions/special-input-field-aggregation-functions.htm)

#### inputsum

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.

[inputsum](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/SpecialInputFieldAggregationFunctions/Inputsum.htm) ([inputfield [, distribution\_mode][set\_expression])

## Learn more

* [Inputfield](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/Inputfield.htm)