Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

dynamically rename by other column

maxiemens
7 - Meteor

Hi guys,

 

following Problem:

 

I have the start-situation: 

 

maxiemens_0-1597918886611.png

 

What I want to do is: rename machine numbers with the same material to the highest one like this:

 

 

maxiemens_1-1597918961531.png

 

Does anybody know how I can to that? Maybe with the Formula Tool? 

 

Thanks in advance 🙂 

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @maxiemens I mocked up a workflow that produces the output you describe. Let me know what you think?

maxiemens
7 - Meteor

Very smart and easy solution, thank you 🙂 

ChrisTX
16 - Nebula
16 - Nebula

I don't think you can use a simple Summarize with a Max, because numbers stored as text won't always get the correct Max value.

 

If you add these records to your input data, the Max value will be 8

 

MaterialMachine
PG1114SRV-7000S(8)
PG1114SRV-7000S(10)

 

 

If you add a Text-to-Columns tool then convert the string inside the parenthesis to a number, you'll get the right Max value every time.

 

dynamically rename by other column ChrixTX.png

 

See attached workflow.

 

Chris

JosephSerpis
17 - Castor
17 - Castor

I revised the workflow.

 

Max_20082020.JPG

Labels