Hi!
I created and have been trying to automate a report every month on incentives in alteryx.
I've been trying to figure out the best way in subtracting values from a previous column to the new appended column.
I have attached an example of an appended monthly report. If you look at the data from right to left, I want to create a formula that will always subtract the column 4 and column 1.
Is there anyway we could do that in Alteryx?
Solved! Go to Solution.
Hi @blitz45 ,
Is it a dynamic column? Would you be able to share a small dataset with your desired output, please?
Best,
FErnando Vizcaino
Hi @blitz45
here you go! Since the relevant fields are always the last and the 3rd from the last, I created a way to number them, apply a formula, and then rename them to the original names. Workflow attached and image enclosed.
By the way, you didn't make it clear if the formula should be 1 - 4 or 4 - 1. I wrote 1 - 4. You can change the formula to suit your needs.
Somehow i'm unable to open your workflow. Can you try to describe what you have in your workflow? I tried going off by what you had in your screenshot but I am missing some details and I'm unable to run it. Any help would be awesome! Thank you so much!
Here is the recipe:
That is how I built this. This recipe and the workflow image will get you to the solution.
It worked! Thank you!
Please mark the answer as a solution. Thank you.