I have a range of numbers (each is a variable or name) in one big group (each weight is part of a group within one large group). I need to select either the last value or the maximum value from a group of variables out of this big group. Either would work. I know there is the max() function, but it does not seem to work. This is what I have in the calculation field:
Either 'TypeError' shows up or more specifically: 'TypeError: Cannot call method 'forEach' of undefined in expression'
I have tried changing the type to see if that changed anything and it does not solve the issue.
I could not find any similar problems online so I am posting mine here.