Hello,
I'm trying to create an automated workflow where I have a number of fields (w, x, y, z & C) for which I want to perform the below calculations on to return values for wS, xS, yS & zS:
wS = w * C
xS = x * (C + wS)
yS = y * (C + wS + xS)
zS = z * (C + wS + xS + yS)
As you can see, I am trying to use a running total of the fields I've just calculated to calculate a new field.
Normally I would write out an individual formula (as above) using the formula tool, however, the number of fields / variables (w, x, y, z) is variable itself! I.e. we could have (a, b, c, …, x, y, z + more!)
Is there any way to dynamically calculate these fields?
This can be easily done in Excel (as attached) but I am creating a large automated workflow in Alteryx for which this is just one tiny part.
I've also attached an example Alteryx flow to kick things off with my current (flawed) logic - using the CReW Dynamic Formula tool.
Any help is very much appreciated!
Thanks
Ryan