ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Make data have a unique field

monilpatel89
5 - Atom

My data does not have any duplicate rows, however one field has values which appear multiple times. How can I discard rows where this value appears multiple times? In the end I just want one row for each value in this field, I can keep any one of the rows that is in my data.

 

i.e. Row 1: a=1, b=2; Row 2: a=1, b=3; Row 3: a=1, b=4; I just want to keep and one of Row 1-3 as I only need a=1 in my data once (regardless of what b is).

 

Thanks!

2 REPLIES 2
flying008
15 - Aurora

Hi, @monilpatel89 

 

You only need use unique tool to field [a]:

 

录制_2023_02_16_10_28_41_896.gif

 

******

If it can help you , please mark it as a solution and give a like for more share.

ShankerV
17 - Castor

@monilpatel89 

 

One way of doing this is.

 

ShankerV_0-1676528311059.png

 

In the union tool configuration, please check only the Column A to fetch the unique record.

ShankerV_1-1676528352223.png

 

Many thanks

Shanker V

 

 

Labels
Top Solution Authors