Thanks
Hi,
If you want one summary or the other, then you could handle this in code by trapping the AfterSortChange event. This is the event that fires when grouping or sorting changes.
So you could check the SortedColumns collection and examine the columns, see which columns(s) have IsGroupBy set to true and add whatever summaries you want.
I tried your solution and I got this:
It has one different summary for each group
But, I'm trying to have a different summary operation for each nested groups (with the same summary object).
In my previus example I have a first group by Direccion. In that level the summary must shows SUM(PRODUCCION_MES). But if i go down, in the second group (Delegación) it must show a diferent operation (MAX(PRODUCCION_MES))
Is it possible to hide one of the summary according the level?