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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Truncating number from a string

sahasanb
7 - Meteor

I ma new in Alteryx. Please help me to find solution for attached scenario.

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Hey @sahasanb, here's one way I'd go about this, using a regular expression to find a percentage in the string and parse that:

 

DataNath_0-1667337745402.png

acarter881
12 - Quasar

Hello @sahasanb.

 

Please see attached for one possible solution.

acarter881_0-1667338186955.png

 

binu_acs
21 - Polaris

@sahasanb One way of doing this

REGEX_Replace([Name], '.*?(\d+%)', '$1')

binuacs_0-1667340287956.png

 

Labels
Top Solution Authors