Aggregate the Math field

Created on 19 February 2024, 9 months ago
Updated 28 February 2024, 9 months ago

Problem/Motivation

I usually use custom text and Twig to do calculations between columns but the problem is that it is impossible to aggregate such fields.
When I find this module, I thought I had the solution but as I can see it is not possible to do aggregation on this field either.
Is there any plan to make aggregation on this field?

/Christer

✨ Feature request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden chrotto

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @chrotto
  • Status changed to Closed: works as designed 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States andileco

    In Views, the aggregation happens at the query level, and the calculations from this field happen after the query has already completed. So it's not possible to do aggregation on this field itself. However, you can have this field in an aggregated view and perform calculations on the aggregated values from other fields.

Production build 0.71.5 2024