Alteryx Designer Desktop Discussions

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

Duplicates with conditions

JohnO
7 - Meteor

Hi all,

 

JohnO_0-1624306787592.png

I need to figure out a way to get certain customer based on customer number and region. Basically, I need all of the region A customers UNLESS there is a region B listed then I need that one.

 

My list should look like this:

JohnO_1-1624306978398.png

Thanks for the help!

3 REPLIES 3
BrandonB
Alteryx
Alteryx

The Unique tool will pass the first row of each value based on the box checked, so if you sort it first then you should be all set. Just use a sort tool and say Region descending and then use a unique tool where you check the box for customer. 

Hannia_Ruíz
7 - Meteor

Hi @JohnO 

I can see that your data has two regios A and B, so you can use "Summarize" asthe image shows.

 

Respuesta Comunidad.png

ArtApa
Alteryx
Alteryx

Hi @JohnO - You can achieve this in a couple of ways. I took the two already described here and added one more:

 

ArtApa_0-1624328532326.png

 

Labels