Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter same ID for different client names

beatrizmguerreiro
8 - Asteroid

Hello,

 

In my dataset I have the following table. 

IDClient name
123

Client A

456Client B
789Client C
0147Client A
456Client C

 

I need two soluction here: make sure each client has its own ID and that each ID has refers to only one client. I would like to filter, in case there are any clients with two different ID. 

In this case, I would have to filter the last 2 lines, because these don't follow my requirements. 

 

Thank you in advance.

3 REPLIES 3
Ladarthure
14 - Magnetar
14 - Magnetar

Hi @beatrizmguerreiro,

 

to do so, you can use a summarize and group by ID, count distinct by client name and then filter on the ID where you have more than 1 client name. You can then use this with a join for your dataset.

beatrizmguerreiro
8 - Asteroid

Hello Ladarthur, 

 

 

In the case above, I explained that I need both checks:

* check if I had multiple ID for a client

* check if I had multiple client names for one id.

 

In your solution, the join tool is indicating as unique value one client with different VAT IDs.

Can you help me here? 

 

beatrizmguerreiro_1-1610479459791.png

 

 

Hi @beatrizmguerreiro 

 

Is this what you are looking for?

 

christine_assaad_0-1610485282508.png

 

Labels
Top Solution Authors