Alteryx Designer Desktop Discussions

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

Pulling specific values into a net column

peter-gillespie
6 - Meteoroid

Hi folks,


I've had a search around and can't find an answer (or can't think of the correct search term to find the answer, more likely....).

 

I have a dataset:

 

NameValue
Adjustment 1123
Adjustment 2456
Adjustment 3789
Adjustment 1 net100
Adjustment 2 net200
Adjustment 3 net300

 

I somehow need to make it look like this:

NameValueNet value
Adjustment 1123100
Adjustment 2456200
Adjustment 3789300

 

Essentially, the net values are currently stored in additional rows and need to be shifted up to a new column and placed on the same row and their corresponding gross value. The adjustment names will be the same every time so I don't need it to be dynamic.

 

Is this possible in Alteryx or do I need to go back to the datasource?

 

Thanks in advance!

3 REPLIES 3
Emmanuel_G
13 - Pulsar

@peter-gillespie 

 

Yes it is possible in Alteryx.

 

Find in attachement the way of doing this.

 

Let us know if it works as you want.

 

Emmanuel_G_0-1675438110092.png

 

DavidSkaife
13 - Pulsar

Hi @peter-gillespie 

 

This should give you what you need:

 

DavidSkaife_0-1675438013375.png

Split the stream between those containing the word net (with a space in front), using the Dynamic Rename tool add Net to the value header, strip out net from the name, and join back together using the Find & Replace tool.

 

peter-gillespie
6 - Meteoroid

Thanks both - really helpful!

Labels