Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Rename the Country names

DataPirate26
10 - Fireball

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
13 - Pulsar

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
17 - Castor

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
20 - Arcturus
DataPirate26
10 - Fireball

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

Labels