In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Multiple Criteria JOIN

daniele_zatti
メテオール

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件の返信3
Qiu
21 - Polaris
21 - Polaris
daniele_zatti
メテオール

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

ラベル
トップのソリューション投稿者