Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

HELP PLZ -- UNIQUE TOOL

SaâdEnnassiri
8 - Asteroid

Hello, I'm trying to find how many appointements were not the customer 1st appointements in 2019, based only on the 1st 200 apoointements in 2019;

But I can see non-duplicate records in the D Anchor?

What I'm doing wrong plz?

Thx for your support

5 REPLIES 5
DavidP
17 - Castor
17 - Castor

It's hard to investigate the problem without the input data file. Your current configuration of the unique tool will put the 1st occurrence of a Customer ID in the Unique output and any subsequent occurrences of the same ID in the Duplicate output .

 

Another way of separating the 1st end subsequent appointments for each customer would be something like this:

 

DavidP_0-1593987951139.png

 

SaâdEnnassiri
8 - Asteroid

Thanks a lot David for your help, my objective was to find customers not 1st time appointements with the 1st 200 appointements in 2019.

Maybe I'm not using the correct or best tool to do so?

  

ArtApa
Alteryx
Alteryx

Hi - If I understood your task correctly, you want to know how many appointments were not 1st. Then you need to skip the 1st appointment and count the rest. Here is the workflow:

ArtApa_0-1594024532089.png

 

DavidP
17 - Castor
17 - Castor

Have a look at the attached workflow. The box that says subsequent appts shows a count by customer ID of all appointments after the 1st appointment.

 

DavidP_0-1594024769675.png

 

grazitti_sapna
17 - Castor

Hi @SaâdEnnassiri , Is this what you are looking for?

Thanks.

 

grazitti_sapna_0-1594027153257.png

 

Sapna Gupta
Labels