ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Rename the Country names

DataPirate26
ファイアボール

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件の返信4
JamesCharnley
パルサー

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

binu_acs
ポラリス
DataPirate26
ファイアボール

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

ラベル
トップのソリューション投稿者