Free Trial

Alteryx Designer Desktop Discussions

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

Multiple Criteria JOIN

daniele_zatti
7 - Meteor

Hi there,

 

I'm stuck in trying to connect two tables. The first one is a database looking like the following:

SKUCategorySeasonColorSize
1ShirtsSpring/summerRedM
2ShirtsFall/WinterBlueM
3JacketsSpring/SummerYellowL

 

The second one contains information on campaigns that are run based on certain criterias applicable to some or all the above:

CampaignCategorySeasonColorSize
-20% on Spring/Summer ShirtsShirtsSpring/summer*any**any*
-10% on Red JacketsJackets *any*Red *any*

 

Consider we have 50+ Campaigns but each SKU should be on only one campaign at a time (has to be validated). How can associate the Campaign to each SKU in table 1?

 

Thanks,
Daniele

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris
daniele_zatti
7 - Meteor

Thanks, Qiu, this is very close to what I'm looking for.

 

How can I now have an output table that has all infomration from tbale 1 and the campaign name (even if there is no campaign associated)?

 

Thanks,
Daniele

Qiu
21 - Polaris
21 - Polaris

@daniele_zatti 
Glad it helps.

Since we already know which SKU is having Campaign code, we can use a join then union with Left Anchor output like this

0704-daniele_zatti-r1.png

Labels
Top Solution Authors