Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Mass Find & Replace

Faronnj
8 - Asteroid

Good Afternoon Alteryx Community,

 

First thank you, @fmvizcaino and @afv2688  for your help on my last problem and providing a workspace solution!  Your help has been extraordinary. 

 

I am excited to have yet another question to further our research with alteryx before my final meeting Wednesday.  I am looking for alteryx to look through all the preop through follow-up data and replace it with a certain value.  I will post the data and then I will post the conversions for the find and replace:

 

LastPreop VA scPreop VA ccBCVAPostop VA > 1-3mo> 4-12mo> 1-2yrs> 2-3yrs> 3-5yrs> 5-7yrs> 7-9 yrs> 10 yrsUCVA @ Last F/U
1FFF  FFMFF FFM     FFM
2FF20/2020/3020/20 20/20     20/20
3FF20/4020/3020/20 20/20     20/20
4FFM 2/500   FFM    FFM
5FF(M)FF  FFM    FFM   FFM
6(F)Poor FBTLFFFFFF(M)     FF(M)
7(F)Poor FBTLFF(F)FFM     FFM
8F(F)20/100FF20/3020/30 20/25 FFM  20/30
9BTL20/100BTLBTL20/40 20/100  FF(M) 20/125
10CF @ 1ft20/10020/5020/50 20/40 F(F)   F(F)

 

I would like alteryx to go through each column and find and replace with these values so i can achieve my final calculation:

 

FindReplace
FFM20/50
FF(M)20/100
FF20/150
F(F)20/175
F20/200
(F)20/250
Poor F20/300
CF @ 1ft20/400
BTL20/800

 

I would greatly appreciate if you would include a workspace since I believe this will be a rather complicated process.  I always am grateful for your workspaces since they help me learn as well as reduce the possibility of error when recreating.  Thank you again and look forward to your help,

 

Nick 

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @Faronnj ,

 

I'm attaching a solution to your problem. The dynamic rename is being used to correct the column names.

fmvizcaino_0-1579810071558.png

 

Best,

Fernando Vizcaino

afv2688
16 - Nebula
16 - Nebula

Hello @Faronnj ,

 

Is this ok?

 

Sin título.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

Labels