Solved! Go to Solution.
The cross tab tool converts non-alphanumeric values into Underscores ( _ ). Why? I'm not sure. What to do, it depends upon how well you know your data. If the only values that you'll see include those pesky dots, then you can use a Dynamic Rename tool (select all applicable fields including "unknown") with a formula of:
replacechar([_CurrentField_],"_",'.')
I've included a workflow for you that goes a step beyond this. It looks at all of the unique "C" column values and then strips the punctuation and replaces them with underscores, just like the Cross Tab tool will do. This data is then fed as metadata to the Dynamic Rename tool. The tool is configured to replace the before and after values so that you get back to the header that you're looking for. This won't however work when T_123 and T.123 values exist. Then the work-around will fall apart because it won't know which is the "right" replacement and you'll just get the 1st occurrence.
I have confidence that the workflow will help you. No picture is included because I'm conserving ink (or I'm just lazy right now).
Cheers,
Mark
Thank you, @Nicholas_Brill, this is what I needed to handle headers in which spaces, slashes, and dashes were all converted to underscores.
Hi MarqueeCrew
I am facing a similar issue .My data before going to cross tab was "A B C:D E:F G" which became "A_B_C_D_E_F_G" later on.
Thanks in advance if you can help me with it .
Regards ,
Rashish
Thanks a lot @Nicholas_Brill. It works properly.
@MarqueeCrew - I'd give you a thousand stars for this one if I could. You just saved me a ton of work!