In a typical table, there is a parameter "Grouping field No. 1". Which allows me to group the results by author.

I do not find how to do the same thing with this module.

CommentFileSizeAuthor
Capture du 2018-02-11 19-26-22.png27.37 KBzenimagine

Comments

zenimagine created an issue. See original summary.

jordik’s picture

A Views Aggregator table is not a typical views table.
There is no "Grouping field No. 1", as you can apply a grouping function in the column "Group Aggregation" in the table settings.

Every group aggregation function, except Filter rows (by regexp), requires exactly one field to be assigned the Group and compress function. With that done, select any of the other aggregation functions for some or all of the fields. Column aggregation functions may be enabled independently of group aggregation functions.

See the description of the module for an example: https://www.drupal.org/project/views_aggregator

The example in your screenshot can be implemented by views aggregator table by selecting "Group and compress" for the "Auteur" field and "Enumerate" or "Count" for the "Titre" field (all in the Group Aggregation column of the settings). In addition you can apply "Sum" as column aggregation, so the total of all articles is shown.

Hope this helps.

jordik’s picture

Assigned: Unassigned » jordik
jordik’s picture

Status: Active » Fixed
jordik’s picture

Status: Fixed » Closed (fixed)