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.

Getting Rid of interchangeable Records

Ajinkya
5 - Atom

Hello,

 

I am new to Alteryx and I am facing issue with getting rid of interchangeable records.

 

Following is the output after performing desired functions in Alteryx,

 

itemSales office 1Sales office 1 PriceSO 2SO2 PriceDifference (abs)year

1

Abc100BAD50502013
1DEF70BAD50202013
1BAD50ABC100502013
1DEF70ABC100302013
1BAD50DEF70202013
1ABC100DEF70302013

 

output I want is,

 

ItemSO1SO1 PriceSo 2So 2 priceDifferenceYear
1ABc100BAD50502013
1DEF70BAD50202013
1ABC100DEF70302013

 

 

Also, my table has data for multiple years.

 

I wand to get rid of unwanted rows here, as i ma taking absolute difference between the products.

 

Any help is appreciated.

 

2 REPLIES 2
apathetichell
20 - Arcturus

filter

[sales office 1 price]-[so2 price]=[difference (abs)]

 

and the true anchor will have rows where that equation is true.

Luke_C
17 - Castor
17 - Castor

Hi @Ajinkya 

 

Here's an approach to compare the Sales office names:

 

  1. Add record IDs
  2. Transpose by record ID and sales office
  3. Sort sales office names alphabetically
  4. Summarize/concatenate the sales office values for each record
  5. Remove duplicates (this works because we sorted)
  6. Join based on record ID, this will cause the duplicates to drop out. 

 

 

Luke_C_0-1619456054988.png

 

Labels
Top Solution Authors