okay, it´s so many ...
The other alternative is to try narrowing the numberr of dimensions needed for the correct calculus .
Which is the dimensions that individualizes [value] and [quantity] ? These are the dimensions you need to provide in the ForEach clause.
Regards,
Rogerio