react-awesome-query-builder
react-awesome-query-builder copied to clipboard
Function SUM of N fields
Hello, I would like to create a function that will allow me to sum up all available fields of number type and some custom value and compare this sum to the field on the left.
What I mean. After selecting a field, operator (">" for example) and clicking on the "SUM" function, I would like to see a list with all available fields and a custom field for entering a value. Then I can choose which fields I want to sum - possibly all of them.
And in this way create similar functions such as average, min, max etc.
My question is: whether it is currently possible?
If I understand correctly, in argumnets of SUM function you want to see multiselect widget to select multiple fields.
It's not currently possible. Currently you can select only 1 field as an argument for function.
Feels like a good feature request for functions suport.
Correct