Views Calc

KarenS - June 5, 2006 - 13:31
Views Calc Table

This module adds simple calculations to a views table. Requires the Views module.

You can SUM, AVERAGE, COUNT, MIN, MAX, or AVG selected columns. A plug in theme makes the view look more spreadsheet-like (right justifies numeric fields, shades calculated columns and rows, and underlines calculated rows).

You can also create custom dynamic fields that can be used in any view using SQL snippets like CONCAT('field_first_name', ' ', 'field_last_name') or DATE_FORMAT(node.created, '%m/%%d/%Y'). The custom fields are set up in admin/settings/views_calc.

Known Issues

  • The complex queries created are not relationship-safe yet, so you can't do accurate calculations on fields coming from relationships.
  • Custom fields can't do anything intelligent with multiple value CCK fields. For now stick to single value fields in custom fields.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.3 Download (18.31 KB) 2009-May-17 Notes
5.x-1.0 Download (9.99 KB) 2008-Feb-13 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev Download (22.75 KB) 2009-Nov-07 Notes
5.x-1.x-dev Download (12.65 KB) 2008-Mar-02 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.