Feature request #17092

Make the "Field to calculate statistics on" optional in the "Statistics by categories" tool

Added by Håvard Tveite over 6 years ago. Updated over 6 years ago.

Assignee:Victor Olaya
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Easy fix?:Yes Copied to github as #:24991


I have found Statistics by categories to be very useful.
One of my use cases is to get a count of features grouped by attribute, and this is currently not possible if there are no numerical attributes.
A very useful enhancement would be to make the Field to calculate statistics on optional.

Pull request: https://github.com/qgis/QGIS/pull/5095

In the pull request Field to calculate statistics on is made optional and values are set to 0 if no field is specified.
This results in a table with 0 or nan values in all the statistics columns except for count.


#1 Updated by Alexander Bruy over 6 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Also available in: Atom PDF