Hi everyone,
I'm currently builing a macro that allows me to apply a multi row formula on multiple fields (see screenshot below).

It is kind of working however I have an issue when using the macro, fields that are not selected are dropped.


And I would like them to be kept without any transformation (orignial format). So in my exemple, I'd like the field z2 to be in the output of the macro without any transformation.
Additional question: how can I easily configure the workflow to apply this multi row formula on both strings and doubles? Because currently the cross tab tool forces me to choose one or the other.
I've attached the macro and the workflow for test. I hope my request is clear enough and that someone can give me a hand on this!
Thanks in advance!