Hi ms,
Thanks for the update. The local approach delivers the results, without error code from the formula editor.
By the way, what is the difference between Parameter() and local()?
As I understand it, Local() simply let variables to be defined and evaluated within the context of the column formula, eliminating risk of interference with global variables with the same name. Parameters are used in optimization problems, i.e. the nonlinear platform.