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

Specific ordering of Rows

Inactive User
Not applicable

Hi all,

 

I'm new to Alteyrx designer and need some help so basically I have this test data set and I added in a new column called W_Code using a formula and then did a find and replace to find the codes HL, MTL, PARL, PBHOL, PL, PRNTL, SK, SK-Cert, SL, SP  and replace them with the word Leave in the new column. 

 

I'm just wondering how can I reorder the rows so that all the leaves are displayed one after another followed by the other codes then.

 

any help is much appreciated.

 

CodeDescriptionW_Code
HLLeave 1Leave
INTCOMProjectsINTCOM
INTQUALQA TestingINTQUAL
MADISTorqueMADIS
MTLMaternity LeaveLeave
OPSTEAMDev OpsOPSTEAM
OTOvertimeOT
PARLLeave 2Leave
PAYZPayrol SystemPAYZ
PBHOLPublic/Bank HolidayLeave
PLLeave 3Leave
PRNTLleave 4Leave
PROProposals New WorkPRO
RCPSRCPS Projects ( risk, compliance and Professional Standards)RCPS
REGINRegulatory InspectionsREGIN
SKsick Leave Un certifiedLeave
SK-CERTSick Leave CertifiedLeave
SLStudy LeaveLeave
SPSpeacial Leave (Breavement/Force Majure, Etc)Leave
2 REPLIES 2
FrederikE
13 - Pulsar

Hey @Inactive User,

 

You can just use another formula with something as simple as: 

 

IF W_Code='Leave'

THEN 1

ELSE 0

ENDIF

 

End then sort by the newly created column in the desired way. Then deselect the newly created col. again. 

Inactive User
Not applicable

Hey  @FrederikE

 

I'll give it a try and see how it goes thank you for your very fast response.

Labels
Top Solution Authors