Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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