Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

How to remove unwanted digits in a column

vnn2492
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 ANTWORTEN 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
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.


Beschriftungen
Top-Lösungs-Autoren