Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
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
11 - Bolide

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