Views calc doesn't calculate correct values if used in a view with one ore more relationships that will create multiple rows in the result which are limited by a distinct setting. If the query is set to "distinct" the calculation will add the total calculation of all queries even for rows that are hidden by the distinct statement. This behaviour in general is correct from a queryie's point of view but it will not match the customer's expectation.
Therefore this module is made. You can install it and it will correct all views calc displays out of the box. Also for fine grained control you can choose the "views calc distinct" display in a view and set the option "Enable Views Calc Distinct". This will correct the calculation of results with a distinct query for a specific view.

This module was developed for correct calculations in the ERPAL for Service Providers distribution

Supporting organizations: 
Development, Sponsoring

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon53 sites report using this module
  • Created by manuelBS on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases