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

how to capture data in another record within 2 records

isaactong
5 - Atom

Hi all,

 

I have a case need your help that:

- 2 records with same unique key (e.g. user ID) only different in "type" column (i.e. BUY/SELL)

- both 2 records have same column called "DISPLAY"

- how I can capture the data in "DISPLAY" column of 2nd record to 1st record at "opposite display" column and then

- capture the data in "DISPLAY" column of 1st record to 2nd record at "opposite display" column

- pls see example as below 

 

user IDtypedisplayopposite display
123456buyYesNo
123456sellNoYes

 

 

Many thanks in advance

4 REPLIES 4
alexnajm
18 - Pollux
18 - Pollux

Sounds just like a normal Formula to get the Opposite Display?

 

IF [Display] = “Yes” THEN “No” ELSE “Yes” ENDIF

isaactong
5 - Atom

Thanks,

 

but how is the workflow to capture the record in "display" column of 2nd row to "opposite display" column at 1st row?

 

user IDtypedisplayopposite display
123456buyYesNo
123456sellNoYes
binuacs
21 - Polaris
isaactong
5 - Atom

many thanks binuacs,

 

It is working and thanks a lot for your help

Labels
Top Solution Authors