Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Rename column header

Mancunian
8 - Asteroid

I have a column with the name  12345 Scenario: state case . I require the column to be renamed but only including the text 'Scenario: state case'

4 REPLIES 4
fmvizcaino
17 - Castor
17 - Castor

Hi @Mancunian ,

 

How do you desire to do that? Because with a select tool you can configure your column headers as you wish.

 

Best,

Fernando Vizcaino

DavidP
17 - Castor
17 - Castor

You could also use a Dynamic Rename Tool with a formula, like this. I used regex replace to remove the numbers and space, but you could use any Text function that can capture the bits you need to remove (or keep).

 

DavidP_0-1584706557261.png

 

Mancunian
8 - Asteroid

I should have mentioned that the header might sometimes have a number e.g. 12345 Scenario5: state case.

Thableaus
17 - Castor
17 - Castor

Hi @Mancunian 

 

Use the same Dynamic Rename tool as @DavidP mentioned, but instead, use this formula

 

REGEX_Replace([_CurrentField_], "[0-9]","")

 

Thanks,

Labels