Alteryx Designer Desktop Discussions

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

Adding a row with Static values

Kuldeepmathur
8 - Asteroid

Hi,

 

Thanks in advance.

 

I would like your help as whenever my Id is changing I need to add a row with having a value of the previous row **just in the access column I need Name Value.

 

I/p

 

 NameIdAccess
Franklyn1850Nel
Franklyn1850Stul
Grey3434Hik
Grey3434Phill
Maj1063Kroll
Maj1063Otaki

 

Expected O/p

 

 NameIdAccess
Franklyn1850Nel
Franklyn1850Stul
Franklyn1850Franklyn
Grey3434Hik
Grey3434Hof
Grey3434Grey
Maj1063Kroll
Maj1063Otaki
Maj1063Maj

 

Thanks 🙂

3 REPLIES 3
Christina_H
14 - Magnetar

Here you go.

Christina_Hurrell_0-1636552672417.png

 

Luke_C
17 - Castor

Hi @Kuldeepmathur 

 

Here's one approach:

 

  1. Sample one record from each ID. 
  2. Update the 'Access' field of that record to be equal to the 'Name'
  3. Union those records back and sort

 

Luke_C_0-1636552655059.png

 

HomesickSurfer
12 - Quasar

Hi @Kuldeepmathur 

 

EDIT:  Not as clean as solutions provided by others... 🙂

 

Here's one way to accomplish the task:

Workflow attached.

 

Capture.PNG

Labels