Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Reading in file weekly, header name slightly changes, how to deal with this.

wonka1234
10 - Fireball

Hi,

 

I have a weekly file that i run a workflow on.. however 1 header changes . Ie  It changes from  Name 123, next week will be Name 124.

 

I need this column and because it changes my append fields do not work and it throws off the entire workflow.

 

Is there a way to change column header beginning with Name to be hardcoded so I can always pickup this header?

Thanks.

2 REPLIES 2
ed_hayter
13 - Pulsar

You could do a dynamic rename to do this.

 

image.png

 

 

Luke_C
17 - Castor
17 - Castor

Hi @wonka1234 

 

You could try the dynamic rename tool with the formula option. Something like the below should work:

 

if Startswith([_CurrentField_],'Name ') then 'Name' else [_CurrentField_] endif

 

Labels
Top Solution Authors