Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Identifying Specific Duplicate Records

JakeEllins
5 - Atom

Hi everyone. I'm trying to identify all employees in a dataset that "work" in two specific departments. My unique identifier is the employee's id, and I have a separate column that identifies the department. My dataset has a lot of duplicates, and employees are often listed as working for one department many times.

 

I've tried using the unique tool, and multi-row formula tool but haven't had any luck. Any ideas? Thank you!

5 REPLIES 5
apathetichell
18 - Pollux

summarize - group by id - count. if the count is 2 or greater there are more than 2 records for that employee.

JakeEllins
5 - Atom

Hi, thanks for the response. I've identified which records are duplicates but want to find all employees that work in two distinct departments. As an example, I could have an employee named 'Jack' who could be listed as working in a Business Intelligence department 10 times, but I'm trying to identify if 'Jack' is also listed in a different row working in the Sales department. So to clarify, I want to find all employees that work in Business Intelligence AND Sales.

apathetichell
18 - Pollux

Post some sample data with the output you want and i'll mock something up for you.

 

if you have unique identifiers for employees and then you transpose business and sales columns and then summarize count - you'll see where you have entries in both business in sales.

JakeEllins
5 - Atom

Please see an example attached. Thank you, I really appreciate it.

apathetichell
18 - Pollux

try this. if you need to make the two departments dynamic - you can do that too.

Labels