Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic rename if column contains certain words

Jenina
8 - Asteroid

Hi All,

 

Can someone provide the correct expression, I just wanted to rename fields that contains a certain word

 

 

Thank you!

2 REPLIES 2
binuacs
21 - Polaris

@Jenina sample attached. In Alteryx the field name should be unique, it will not allow duplicate names, as per your requirement there might be chance to create duplicate field names

image.png

apathetichell
20 - Arcturus

I think @Jenina is asking for the dynamic replace to work like this:

if contains([_CurrentField_],"WFC YTD Entered Balance") then replace([_CurrrentField_],"WFC YTD Entered Balance","Gla Balance") else [_CurrentField_] endif.

that is the same as:

replace([_CurrrentField_],"WFC YTD Entered Balance","Gla Balance") - because if the verbiage is not included it cannot be replaced.

Labels
Top Solution Authors