Alteryx Designer Desktop Discussions

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

Sum Total Based on Multiple Criteria and in two sources

Nickvv
7 - Meteor

I'm trying to get a column with the total number of cars received based:

 

From source 1 and Source 2

IF Date Sold + PO + Class + Item and return the total cars received on the same date as PO Sold + Class + Item 

 

 

Source 1: (Sales Tab in Excel)

Unique IDPODate SoldClassItemCars Sold
1111-OctGMSierra3
2222-OctGMEnvoy1
3333-OctFordMustang1
4444-OctFordMustang5
5555-OctChevySilverado10
6666-OctChevyTahoe1

 

Source 2: (Orders Tab on Excel)

PODate ReceivedClassItemCars Received
111-AugGMSierra75
771-AugGMSierra75
222-AugGMEnvoy88
882-AugGMEnvoy88
333-AugFordMustang100
993-AugFordMustang100
444-AugFordMustang50
555-AugChevySilverado60
666-AugChevyTahoe10

 

What i want my final result to be: (Final tab in Excel)

Unique IDPODate SoldClassItemCars SoldDate ReceivedCars Received
1111-OctGMSierra31-Aug150
2222-OctGMEnvoy12-Aug176
3333-OctFordMustang13-Aug200
4444-OctFordMustang54-Aug50
5555-OctChevySilverado105-Aug60
6666-OctChevyTahoe16-Aug10
2 REPLIES 2
Kenda
16 - Nebula
16 - Nebula

Hey @Nickvv 

 

Here is how I approached this problem. It works for the sample dataset that you provided. Hopefully this helps with your entire dataset, too!

 

Kenda_0-1605050552920.png

 

Hi @Nickvv 

 

Please check the attached. Cheers!

 

christine_assaad_0-1605051170014.png

 

Labels