Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Help matching several fields then filtering

kfaz81
6 - Meteoroid

I have a list of accounts with associated purchases and sales that I need to associate with the category of the item purchased or sold, and then filter to only have those bought and sold within the same category remain. 

 

For example, account #1 sold "N" and bought "Y". Items "N" and "Y" are of the same category - "Small". In contrast, account #3 sold "C" and bought "B", items of different categories.

 

I'm not sure what tool or what workflow would easily accomplish this for me.

Thank you for your help!

 

Buy Acct #Buy ActionBuy IDBuy Trade DateSell Acct #Sell ActionSell IDSell Trade Date
1BuyY02/28/20201SellN02/28/2020
2BuyH03/09/20202SellAB03/09/2020
3BuyB04/28/20203SellC04/28/2020
4BuyA03/17/20204SellB03/17/2020
5BuyB04/06/20205SellD04/06/2020

 

CategoryPrimary IDSecondary IDTertiary ID
LargeCLW
ValueEMX
SmallANY
TotalFOZ
EquityGP 
InternationalDQAA
MarketHRAB
BondBSAC
CorporateIT 
USJU 
DebtKV 
2 REPLIES 2
Per
11 - Bolide

Hi,

 

I have attached a solution based on how I understood the issue. Transpose the categorization and then join the categories for each buy and sell. Last filter out the non-matching values. Hope it makes sense and solves your issue!

 

Per_0-1597407237538.png

 

kfaz81
6 - Meteoroid

This worked perfect, thank you!

Labels