Hi All,
I am using Alteryx to reformat data into a nicer structure. The initial input has the same data column titles repeating ABCDABCDABCDABCD.....etc. As you know, Alteryx usually renames these columns as ABCD A2B2C2D2 A3B3C3D3 A4B4C4D4....etc. I rely on this sequence to "code" these columns and join them back with the data it is referring to. However, sometimes Alteryx is inconsistent with its renaming of duplicate columns. It may show, ABC3D, or A2B2C4D2, or A9B4C4D8... etc...
I notice the data figures are correctly placed, but just the column renaming is inconsistent. This is troubling because I am using the same workflow for over 100 files (of the same structure) and the output data is sometimes not in the right place, but I never receive an error.
Is there a dynamic way to ensure Alteryx will rename duplicate columns names with a consistent 2,3,4,5,6,.... number on the end for each group of repeating columns?
Also to note, I am using a macro to process these files, so simply "rerunning" will not work.