Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Multi-Field Formula Help

rrafferty2
8 - Asteroid

How do I flag/remove the first duplicate Unit code with a formula.

Right now, I am only flaging the first unit code with a duplicate.

I have three conditions with one of the conditions being a possible duplicate unit code number in the dataset.

I can provide screen shot or sample if needed

 

Thanks

Robb

 

isempty ([Tier Association]) and [Subconsol Name] = [Subcon Name Mix] and [Unit Code] = "0004"

//any and all duplicate unit code with 0004 as example

4 REPLIES 4
AbhilashR
15 - Aurora
15 - Aurora

Hi @rrafferty2 , it would be beneficial if you could provide us a sample of how your data is currently structured, and what should the final output look like.

fmvizcaino
17 - Castor
17 - Castor

Hi @rrafferty2 ,

 

One idea is for you to bring the count of occurrences to your main dataset and use it as your condition (occurrences >1)

Example attached.

fmvizcaino_0-1585679312542.png

 

 

Best,

Fernando Vizcaino

rrafferty2
8 - Asteroid

rrafferty2_1-1585679606210.png

 

fmvizcaino
17 - Castor
17 - Castor

Hi @rrafferty2 ,

 

Example attached. I've created a flag that shows the first duplicated unit code that are exactly below.

fmvizcaino_0-1585679928154.png

 

Labels
Top Solution Authors