Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Gather all 9 clues to complete the final Weekly Challenge on Dec 16!

Learn More

Question on how to retain blank headers?


I have a data set that has a very particular format because of how it needs to be uploaded into the system. There are ~5 column headers that are defined with text, but a number of others that are "blank" and must remain so. Alteryx automagically (ha) created header titles (F10, F11, F12...) which is great for selecting and creating formulas etc, but is there a final step I can impliment before I output the file to revert (or set) those headers to blanks? I tried using Dynamic Rename, which worked... except that it identified the blanks as "duplicate headers" and ultimately renamed them with text as a result. 




You can certainly keep those blank headers in your final output back to excel.  Take a look at the TABLE tool with the Reporting category.

There you can do an easy rename each header (see below) and make them a blank space.  After that you just add a Render tool and choose Msft Excel as your output format.







Now if a SPACE is still too much for your output header format... then you have to use a bit of RegEx (and specifically the RegEx tool and not regex in the Formula tool) and replace all of your Fieldn or Fn with something like the following:







Thank you! I think the table tool will work for my purposes. Appreciate your help very much.