Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Views computed field

110 sites Security covered Drupal 9โ€“11 Views ecosystem
View on drupal.org

This module allows you to create computed fields in Drupal Views that calculate values using mathematical formulas based on other fields. It supports complex operations, automatic numeric conversion, and safe formula evaluation.

A Drupal module that adds a custom Views field type for calculating values using mathematical formulas based on other fields.

Features

  • ๐Ÿ“ Formula-based computations using field values
  • ๐Ÿ”ข Automatic numeric conversion of field values
  • ๐Ÿ› ๏ธ Symfony ExpressionLanguage integration
  • ๐Ÿšฆ Configurable error handling
  • ๐Ÿ”’ Safe formula evaluation
  • ๐Ÿ“Š Supports complex mathematical operations

Usage Examples

Basic Price Calculation

field_unit_price * field_quantity

Conditional Discount

field_quantity > 10 ? field_price * 0.9 : field_price

Complex Calculation

round((field_base + field_bonus) * (1 + field_tax_rate), 2)

Next release

The next release will introduce a plugin system that supports more than just formula-based computations. You'll be able to create custom processes, example : fetch data from any source, such as APIs, Excel files ...

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0 Stable 9โ€“11 Jul 21, 2025
1.0.0-alpha2 Pre-release 9โ€“11 May 28, 2025
1.0.0-alpha1 Pre-release 9โ€“10 Feb 11, 2025
1.0.x-dev Dev 9โ€“11 Feb 11, 2025