Sum query on a Multi D array

In reply to dave_59:

Dave,

Thanks for the confirmation.

Doesn’t work on my local simulator though :(

Do you have a better work around to suggest than my previous example? I don’t like solution space partitioning that the function call approach creates.