Alteryx Designer Desktop Discussions

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

Custom sort order

neil_randall
7 - Meteor

 

HI,

 

I would like to sort a dataset by  a specific set of values

 

1. Active

2.Transfer.

3.Withdraw

 

I would like to specify the exact values and sort order's. The sort component only seems to offer alphabetical sort options?

3 REPLIES 3
MarqueeCrew
20 - Arcturus
20 - Arcturus
I like to create a sort order field. I put the numeric translation of 1-active, 2-transfer, 3-withdrawal. Then sort in that field, removing the field once sorted.
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
JoRao
8 - Asteroid

How would I custom sort rows if I have more than 9 rows? For example, I have 12 rows and when I try to sort it using the method recommended in the solution below, it sorts it this way:

1

10

11

12

2

3

4

.

.

9

How do I overcome this?

 

Thanks!

Jo

Bobe
7 - Meteor

I believe making the numbers two digit strings would do the trick: 01, 02, 03, 04...10, 11, 12... 20, 21... etc

Labels