To sum by group, you must in some way distinguish elements of the groups. The easiest way is to use the Element ID field. In the attached example, I set the Element ID to either 1 or 2 for a bunch of fills. (You can also use the fill type, etc.)
With "Merge Uniform Items" checked, instead of seeing each individual fill area, we just see the subtotal for each group. The sum (sigma) for Area gives the grand total. (Unfortunately, ARCHICAD does not give us the ability to edit empty cells and thus put the text "GRAND TOTAL" in front of the bottom line. Have to place unassociated / free-floating text on top of the schedule in the layout as a workaround.
One of the forum moderators
AC 27 USA and earlier • macOS Ventura 13.6.9, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB