Alteryx Designer Desktop Discussions

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

How to compare two datasets with one column in common

Stevebobs
5 - Atom

Hi everyone, 

 

I'm looking to compare two datasets such as: 

 

First excel dataset A has: 

Column A - with a list of clients

Column B - with a list of employees within these clients

Column C - with a list of revenue generated per employee within these clients 

 

Second excel dataset B has the same format. 

 

My goal is to have the output as the following: 

 

Column A - list of clients 

 

Column B - list of employees from dataset B within clients from column A 

Column C - list of revenue generated per employee from dataset B 

 

Column D - list of employees from dataset A 

Column E - list of revenue generated per employee from dataset A 

 

Let me know if that's unclear and I can provide a visual example! 

 

Thank you! 

 

Steve

 

 

 

4 REPLIES 4
Robin_McIntosh
11 - Bolide

So your desired output would look something like this?

 

Robin_McIntosh_0-1656525502469.png

 

binuacs
20 - Arcturus

@Stevebobs Can you provide sample input files and expected output result in an excel?

Stevebobs
5 - Atom

Hi @Robin_McIntosh, 

Thanks for the reply! :) 

That's the idea - in an ideal world:

With a top or bottom row that sums up the revenue per client, and also with matching employees on the same rows for an easier comparison. See screenshot: 

Stevebobs_0-1656583576815.png

 

Best,
Steve

Stevebobs
5 - Atom

Hi @Binuacs, 

Sure, here it is. 

Best,
Steve

Labels