Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Replace values if there's a match

jamiep004
7 - Meteor

Hi community, 

 

I have to datasets A and B. In both datasets, there is a column containing reference numbers. Where reference in A matches reference in B, I want to replace the values in the column containing 'amounts' in dataset B with the values in A. To illustrate:

 

A

ReferenceAmount
10567980.00
10568710.00

 

B

ReferenceAmount
10567966.00
10568700.00

 

desired output:

 

B

ReferenceAmount
10567980.00
10568710.00

 

Basically, I need the amounts ONLY in B to change to A where a match of reference is found.Is this possible?

1 REPLY 1
AbhilashR
15 - Aurora
15 - Aurora

@jamiep004 - you could join the two dataset on Reference column to achieve this result. Sample solution attached.

AbhilashR_0-1585280479852.png

Please mark this post as solution accepted if it answers your question.

Labels
Top Solution Authors