Hey! I have a question regarding getting my multi-row formula to update in alteryx.
I have attached the macro I'm currently working on! As you can see in the end of the macro I'm trying to update the number of words chosen for the multi-row formula:

Where from the formula: if !isnull([Count]) then REGEX_Replace([Row-1:NewKPI], '(\w+)(\s|-).+', '$1') + " " + GetWord([Row-1:NewKPI], 2) + ' ' +[Field_To_Rename] else [Field_To_Rename] endif
It replaces the 2 in the GetWord.
This is working such that if I choose 1 it says "Revenue For Fisk". However, if I Choose 0 it returns "Revenue Revenue Fisk" or if I choose 2 it returns "Revenue Me Fisk".
Is there a way to make it update such that if I choose 0 it returns "Revenue Fisk", if I choose 1 it returns "Revenue For Fisk" or if I choose 2 it returns "Revenue For Me Fisk"?
Any help is appreciated!