Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views computed field

Security covered Under active development 114 sites

Part of the Views ecosystem · 280 projects

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 ...

Drupal 9โ€“11

Ask your assistant about Views computed field

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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 PHP 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