Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Selecting relevant data from tables and matching records

aclar286
7 - Meteor

Hello! I was wondering if anyone could help me with this problem.

 

I have two tables in my workflow.  

The first has product information such as colour and size, and then shows how a percent for a  given product will change over months, for example:

 

    Month 
Product IDColourSize

1

23
XXWDHBlueS0.020.30.56
DDLWPBlueM0.010.050.1
DDLWPRedM0.080.40.01

 

I then have a table with all the product records.  This has the same information as the first three columns, as well as identifying which month the product is in.  Example:

 

Product IDColourSizeMonth
XXWDHBlueS3
DDLWPRedM1
DDLWPRedM2

 

What I would like to do is match the information from the 1 table with the relevant product, such as:

 

Product IDColourSizeMonthPercent
XXWDHBlueS30.56
DDLWPRedM10.08
DDLWPRed M20.4

 

So only calling up the relevant percent for that product and its features.

 

Any ideas?  Thanks for the help!

2 REPLIES 2
JoshuaGostick
12 - Quasar

Hi @aclar286,

 

I've identically re-created your two sample data sets and built a workflow that produces your desired output. Let me know if this workflow solves your issue.

 

Selecting relevant data from tables and matching records.PNG

 

Thanks,

Josh

aclar286
7 - Meteor

Thank you, really simple solution that's worked perfectly!

Labels
Top Solution Authors