We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Row Level Merge and delete

Datology
5 - Atom

Hello All,

 

I have the following data set

 

Datology_3-1616908883648.png

 

 

 

When a UNIT has a SUB_UNIT A that matches with a SUB_UNIT B. I need to remove the SUB_UNIT B row and replace the A with a W. One UNIT and SUB_UNIT can only be matched with one other UNIT and SUB_UNIT. So the result should look like this...

 

Datology_4-1616908908868.png

 

Is there any way to do this outside of using Python?

 

Appreciate any help you can give!

7 REPLIES 7
Qiu
21 - Polaris
21 - Polaris

@Datology 

I dont know about Python, so this is an Alteryx way, if that is what you need.

0328-Datology.PNG

Datology
5 - Atom

My apologies, I forgot to mention that there would be multiple account numbers that must remain separate...

Datology_0-1616913456053.png

 

Qiu
21 - Polaris
21 - Polaris

@Datology 
That workflow should work for that.
and please provide the input in data format, not picture...

I have to spend time to input them...

Datology
5 - Atom

Sorry about that. The .yxdb input data is attached.

It looks like it's trying to combine between the account numbers...

Datology_1-1616914733865.png

 

 

Qiu
21 - Polaris
21 - Polaris

@Datology 
Thnak you for the input data.

Your new input indeed requires some addtional settings.

Kindly see this works for you.

0328-Datology-1.PNG

Datology
5 - Atom

All I needed to do was select Account# in First 1 and it seems to work perfectly!

Thank you so much for your help! I'm kind of new to the forums so is there anything I can do besides clicking the "Accept Solution" to help you?

Qiu
21 - Polaris
21 - Polaris

@Datology 
Its very of you to give comment as this.

I am just glab to help and thank you for the accept also. 😁

Labels
Top Solution Authors