Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Removing duplicates without effecting other columns

lledl
7 - Meteor

Hello,

 

I'm a new member and trying to figure how I can remove duplicates (getting rid of repeated rows) in a specific column

 

So, I would like to remove the repeated WEB strings (IDs)-without touching NAME and ROLE columns, so I want to make it look like the table below (2nd one). I already tried multi formula tool with an expression of iif(isnull([Row-1:WEB]),[WEB],""), but it is not working as I desired.

 

 

(1st table). Original schema

WEBNAMEROLE
www.tra.sa:808SAM RONA1
www.tra.sa:808DANIEL WATSONF1
www.tra.sa:808TOM STUARTA1
www.tra.sa:808ALEX TASCIF2
www.tra.sa:808JACK MAYORF1
www.tra.sa:808TONY UNDERDOWNF2
www.tra.sa:808MALEN SKURSS2
www.tra.sa:912SAM RONA1
www.tra.sa:912DANIEL WATSONF1
www.tra.sa:912TOM STUARTA1
www.tra.sa:912ALEX TASCIF2
www.tra.sa:912JACK MAYORF1
www.tra.sa:912TONY UNDERDOWNF2
www.tra.sa:912MALEN SKURSS2
www.tra.sa:66SAM RONA1
www.tra.sa:66DANIEL WATSONF1
www.tra.sa:66TOM STUARTA1
www.tra.sa:66ALEX TASCIF2
www.tra.sa:66JACK MAYORF1
www.tra.sa:66TONY UNDERDOWNF2
www.tra.sa:66MALEN SKURSS2

 

 

 

(2nd table)Below is how it should like like...

 

WEBNAMEROLE
www.tra.sa:808SAM RONA1
 DANIEL WATSONF1
 TOM STUARTA1
 ALEX TASCIF2
 JACK MAYORF1
 TONY UNDERDOWNF2
 MALEN SKURSS2
www.tra.sa:912SAM RONA1
 DANIEL WATSONF1
 TOM STUARTA1
 ALEX TASCIF2
 JACK MAYORF1
 TONY UNDERDOWNF2
 MALEN SKURSS2
www.tra.sa:66SAM RONA1
 DANIEL WATSONF1
 TOM STUARTA1
 ALEX TASCIF2
 JACK MAYORF1
 TONY UNDERDOWNF2
 MALEN SKURSS2

 

   

3 REPLIES 3
Federica_FF
11 - Bolide

Hi,

 

I can't try it on alteryx right now, but I think what you need is a temporary ID that starts again from 1 when the WEB label changes.

 

Multirow formula: Temporary ID = [Row-1:Temporary ID]+1 grouped by WEB

 

And then a simple formula that overwrites the WEB column: IF [Temporary ID] = 1 then WEB else "" endif

lledl
7 - Meteor

Thanks for the help but could not get it worked. Will be spending more time soon

patrick_digan
17 - Castor
17 - Castor

@Federica_FF's solution appears to work on my end. I've included it as an attachment for @lledl.

Labels