We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Multiple columns with same name give warning every time

saachitalwar
8 - Asteroid

I have heading in the form

 

abcdef
SummarySummarySummarySummarySummarySummary

 

I want to keep the second row as the headers like 

 

SummarySummary2Summary3Summary4Summary5Summary6

 

Right now alteryx is giving the warningin dynamic rename - 

Dynamic Rename (7) There were multiple fields named "Summary".  The duplicate was renamed.
Dynamic Rename (7) There were multiple fields named "Summary".  The duplicate was renamed.

 

How can I correct this?

5 REPLIES 5
davidskaife
14 - Magnetar

Hi @saachitalwar 

 

The only way to correct it is to have the column names unique prior to ingestion into the Dynamic Rename tool, which is how they are ending up - Summary, Summary2 etc

 

The warning is there to inform you that you're trying to create columns with the same header, which Alteryx does not support

 

 

saachitalwar
8 - Asteroid

so should put formula tool before dynamic rename and put " if [column] == "summary" then summary2 else [column]"

something like this or is there another way around it

davidskaife
14 - Magnetar

The Dynamic Rename tool will automatically rename the columns for you into Summary, Summary2 etc. If you're happy with the warnings then you don't need to do anything!

saachitalwar
8 - Asteroid

Ah ok, I just wanted to remove the warnings as well

caltang
17 - Castor
17 - Castor

You could pivot the names or use the field info tool plus record ID and tile tool to name and sort the header names, then dynamic rename them. The headers will follow that naming convention and will remove the warnings for you.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors