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.

Releases

Official releasesDateSizeLinksStatus
6.x-1.32009-May-1718.31 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.02008-Feb-139.99 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Nov-0722.75 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Mar-0212.65 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.