In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. 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.
SOLVED

How to remove unwanted digits in a column

vnn2492
7 - Meteor

Hi There, I have a requirement where I need to remove 2020/2021 in a entire column. any leads would help will be more helpful. for reference I have attached screenshot where from the column name client ID conc I need to remove 2020/2021.

vnn2492_0-1641394008275.png

 

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @vnn2492 

 

Use a formula tool with a replace function:

 

replace([Client ID Conc],'2020/2021','')

 

Luke_C_0-1641394256118.png

 

Sebastiaandb
12 - Quasar

Hi @vnn2492 ,

 

Here you go:

REGEX_Replace([Field1], "\d{4}/\d{4}", "")

 

it will work with all year combinations

 

Sebastiaandb_0-1641394439908.png

 

AZuc
Alteryx Alumni (Retired)

substring([client ID conc],9)

 

*perhaps is 10 instead of 9. I haven't tested

André Zuccatti

Sales Engineer - LATAM -
Alteryx, Inc.


Labels
Top Solution Authors