We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Keep the value only of first row per each unique name

Slawson5
5 - Atom

Hello,

 

I would like to duplicate the first value down per each unique name. 

 

This is my current data - 

 

NameCategory
Sarah Live
Sarah Not Live
Sarah  
Sarah 

 

Then I would like the output to be -

 

NameCategory
Sarah Live
Sarah Live
Sarah Live
SarahLive

 

I'm trying multi row formula but can't quite get there (I'm new to this!) so would appreciate the help!

 

Thanks

Sarah

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @Slawson5 

 

Here's 3 ways:

 

  1. Multi-row: Use an if statement to check if the name is equal to the previous row's name
  2. Sample: Take the first row for each Name, then join back to the dataset
  3. Summarize: Take the first row for each Name, then join back to the dataset

 

Luke_C_0-1656251256585.png

 

Slawson5
5 - Atom

That’s great - just what I needed. Thank you!

Labels
Top Solution Authors