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.

Move Field to the End of Column

insomned
8 - Asteroid

Hi everyone, 

 

I have a following table:

 

Name            Age         City

 

John              15           London

Katy               17           Birmingham

George           14          Paris

 

I need to move John's whole row to the bottom, but the actual dataset I have is of course much more complicated and extensive. How could I do this?

 

Thanks!

3 REPLIES 3
ShankerV
17 - Castor

Hi @insomned 

 

Try to use formula tool to Mark some indicator if John found.

 

Then Split it from the dataset.

 

Use Union tool to join at the end.

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

Hi @insomned 

 

Please find the expected output.

 

ShankerV_0-1674116203012.png

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

Hi @insomned 

 

Step 1: Input

ShankerV_0-1674116247055.png

 

Step 2:

ShankerV_1-1674116261762.png


IF [Name]="John"
THEN 1
ELSE Null()
ENDIF

 

ShankerV_2-1674116270250.png

 

Step 3:

 

ShankerV_4-1674116314716.png

ShankerV_5-1674116324754.png

 

 

Step 4:

ShankerV_6-1674116359928.png

ShankerV_7-1674116375503.png

 

Many thanks

Shanker V

 

 

 

 

 

 

Labels
Top Solution Authors