Custom calculation using average of summed isomers

Hello,
I am very new to programming custom calculations in openlabs. I have a system suit that I'm trying to get the average of the sum of isomers for. This will not be reported, but will be referenced in further custom calculations. Does anyone have an example of how to express this in a custom calculation?

Was this helpful?