community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Question on how to retain blank headers?

Atom

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. 

 

headers.jpg

Highlighted
Alteryx
Alteryx

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.

 

 

 

blank_header.jpg 

 

 

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:

Field\d+

RegEx.jpg

 

 

 

Atom

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

 

Cheers!

Labels