Apply custom function

Hello everyone,

I’ve got alot of fields (20+) that I want to apply a custom function (eg.: field/fixedField), atm I’m using the “Modify column” action, is there any another way to do it quickly?

For example, I’ve got these fields:
A Pieces stocked;
B Pieces sold;
C Pieces bought;
D Pieces to qty conversion rate;

For the ABC fields the modification formula would be: currentField/D.

Unpivot the columns A,B, C (but not D or other columns). Apply the calculation, then pivot them back.