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

MultiRow Tool

anom23
7 - Meteor

Hello, 

 

I have the below set of data where I am trying to use the multirow tool to copy data from the order# to receivedcode based on criteria. Essentially if the order starts with IR then IR1 would be copied into the Receivedcode column.  If order# starts with a numerical value (1234 etc), I would copy the data from the Code column.  I have tried several approaches but none seem to work.  Any assistance would be appreciated. 

 

Example 

RecordIDOrder#ReceivedCodeAccount #code
1IR1 1234011111
2IR2 1234322222
3IR3 1234090909
4IR4 1234623344
5IR5 1234932332
6IR6 123409408N
7IR7 123408034Z
8IR8 1234052021
9IR9 1234046575
10123456 1234141299
11456789 1234755837
12123456 1234777550

 

 

Desired Outcome

 

RecordIDOrder#ReceivedCodeAccount #code
1IR1 IR11234085781
2IR2 IR21234366856
3IR3IR3123409798G
4IR4IR41234623344
5IR5IR51234934506
6IR6IR6123409408G
7IR7IR7123408034G
8IR8IR81234052021
9IR9IR91234046575
101234561412991234141299
114567897558371234755837
121234567775501234777550
5 REPLIES 5
Qiu
20 - Arcturus
20 - Arcturus

@anom23 
Hope I understand your intention correctly.

1208-anom23.png

martinding
13 - Pulsar

Hi @anom23 

 

In your case, a formula tool will work.

 

Please see attached.

 

test.png

binuacs
20 - Arcturus

@anom23 Similar to @Qiu and @anom23 approach but I used Regex_Match function to check the order# start with numeric value or not?

binuacs_0-1670485773038.png

 

ShankerV
17 - Castor

Hi @anom23 

 

It is possible with Multi row formula tool also.

Here is the possible solution for you.

 

ShankerV_0-1670486961573.png

 

 

Hope your issue is resolved. Feel free to mark helpful answers as a solution, so that future users with the same issue can find them easier!!!!

 

Many thanks

Shanker V

anom23
7 - Meteor

Thank you all! These solutions worked.

Labels