Free Trial

Alteryx Designer Desktop Discussions

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

Identify where joined column comes from

wonka1234
10 - Fireball

Hi all,

 

Is there a way to rename columns or add a prefix of the filename to the column?

I am doing a join and would like a better way to identify where the column comes from other then "left" or right".

 

wonka1234_0-1647010355100.png

ie I'd like to rename,   [File1]_Person  or [File2]_Person

 

 

Any help would be appreciated.

14 REPLIES 14
Luke_C
17 - Castor
17 - Castor

@wonka1234 Open with notepad and update to your version. Should work after that.

Luke_C_0-1647014277864.png

 

wonka1234
10 - Fireball

@Luke_C  I have two summaries, now need to append it from both sides.

 

wonka1234_0-1647015161043.png

 

Luke_C
17 - Castor
17 - Castor

Hi @wonka1234 

 

You have a lot of great solutions in this thread, take a look and try applying them to your situation. That's the best way to learn! If you run into specific issues we can help.

wonka1234
10 - Fireball

@JosephSerpis Hi Joseph,

 

When i try recreating im only getting one set of the col names renamed:

 

wonka1234_0-1647018034839.png

 

 

I am unioning both:

 

wonka1234_1-1647018057849.png

 

JosephSerpis
17 - Castor
17 - Castor

Hi @wonka1234 its hard to tell from the screenshot and not having the workflow however the formula tool for the Right columns I ensure have Right_ infront the columns names.

 

Rename_11032022.JPG

 

This means that the union has two fields Name that will match up from the results of the Join tool when it adds Right_ and the Replacement column which I use in the dynamic rename tool.

 

Name_Replace.JPG

 

 

Labels
Top Solution Authors