I am wondering if it is possible to group twice? I want to sum 1 column up based on grouping of another group (basic sum group which works fine). Now that i have the rows compressed with value field as sum of the value fields, i then want to average these out when grouped by another field.

example:
stamp, value, created (m-y format)

group on stamp and sum gives me less rows with
stamp, sum of the value fields, created

then, i want to do average of the summed values within the created group.

Comments

liquidcms created an issue. See original summary.

renatog’s picture

Hello @liquidcms, it's not possible for now in the 7.x-3.24 version

If necessary you can report a Feature Request explaining the reasons to implement this. But to be honest, in 7.x we're not implementing new items because we're joining efforts to fix bugs and new things in the D9. But it's a good way. Especially if there is a patch with the proposed solution

If you prefer we can talk fore in the slack

Thank you so much

renatog’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.