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.

Remove text and add

yeruvab
Meteor

I have question on how to achieve column name 'ABC' has a value Butterflies | Props,

add 'PRP: ' in front of text AND Remove anything before the | , example output like PRP: Props
 
6 ANTWORTEN 6
kamal03
Comet

Hi @yeruvab 

 

There are multiple ways to do this, one of them is to use a formula tool to substring the string.

 

Try the below formula :

 

'PRP:' + Substring([ABC], FindString([ABC],'|')+1,Length([ABC]))

.

 

 

binu_acs
Polaris

@yeruvab One way of doing this

Trim(REGEX_Replace([Abc], '.*\|(.*)', 'PRP:$1'))

image.png

yeruvab
Meteor

Thank you for your prompt reply, it worked :)

yeruvab
Meteor

This worked like magic!! thank you so much :)

yeruvab
Meteor

Thanks!

yeruvab
Meteor

The data source is excel file and its not taking the empty cell as null.

 

Beschriftungen
Top-Lösungs-Autoren