I am trying to use a Function in AggregateRows of Tabular data.
I need to add the values of several columns of the data.
I am using this expression:
ColumnKeys[itersela][[i]] ->
Function[ Total[ #[ ColumnKeys[itersela][[i]] ] ] ]
But this doesn't work. It works with specific names of Keys after #, but in this case, I will use variable Keys (the Key name is given by ColumnKeys[itersela][[i]] for several values of i.
How can I make this work?