I have been learning about Batch Macros on community and thanks for your communal help (especially @danilang!).
I have an issue where I am trying to create a batch macro on a summarize tool.
My current workflow has a user inputting data, I then create lists of their dimensions and their metrics, these go into my summarize tool.
The tool should 'Group by' by one dimension at a time and use their metrics as a 'Sum by'.
So far I have set up my batch macro so it finds a list of dimensions and then goes through the summarise with one dimension at a time as a 'Group by', half way there!
What I can not figure out is how to create the dynamic 'Sum by' as it may be just one metric, it may be a number of them.
Is there a way to do this in batch macro or do I need another tool?