Early bird tickets for Inspire 2023 are now available! Discounted pricing closes on January 31st. Save your spot!

Alteryx Designer Discussions

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

Rename the Country names

DataPirate26
9 - Comet

hi all, 

 

Below i have provided 2 Sample Data. One is the input and the Other is the required output.

 

The Country names were the headers At first So when I have read it Alteryx it has been renamed as 2, 3 etc as in Alteryx two fields cannot have the same Names. Those needs to be replaced by the original names as it is. Can someone help me out with this ? 

4 REPLIES 4
JamesCharnley
12 - Quasar

Hi @DataPirate26 

 

In this particular case you should just be able to use the data cleansing tool to cleanse the field of numbers and punctuation. If you had punctuation in some jurisdictions you wanted to keep then you could use the replace function in a formula instead.

 

JamesCharnley_1-1665565643419.png

 

 

DataNath
16 - Nebula

Hey @DataPirate26, how does this look? It just replaces all numbers/underscores with nothing. As there's no legitimate case for these being in the name this ought to be fine I think?

 

DataNath_0-1665566055369.png

binuacs
17 - Castor
DataPirate26
9 - Comet

@binuacs Worked perfectly fine with the solution. Thanx for the quick help

Labels