Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Multiple cols - how to use sort tool

SrinivasanSugumaran
8 - Asteroid

HI  ,

 

I need to sort 2 cols. (both name and month are to be sorted in descending) and I am stuck in a workflow using sorting tool. Appreciate if you can help. Tried the sort tool but only the first col . is sorted correctly.

 

 

NameMonthSalary
ajul1
bdec2
ajan3
bsep4

 

expected output:

 

 

 

 

NameMonthSalary
bdec2
bsep4
ajul1
ajan3
4 REPLIES 4
Emil_Kos
17 - Castor
17 - Castor

Hi @SrinivasanSugumaran,


You need to change the month to date format to make it work for you:

 

Emil_Kos_0-1615556298408.png

 

SrinivasanSugumaran
8 - Asteroid

Hi Emil

Thanks for the reply.

 

The columns which I have are kind of dummy cols ...

 

In the actual data set I have 2 cols. with data type as Double. but it didn't work out.

Col. Avg RW is already sorted, but SUM RWA GBP is not .

 

Avg_AVERAGE RWSum_EAD GBP Sum_RWA GBP 
12.50.87568                      10.95
12.521749.89           271,873.66
12.574.90395                    936.30
12.59.864941                    123.31
Emil_Kos
17 - Castor
17 - Castor

Hi @SrinivasanSugumaran,

 

Are you sure they are duble? I needed to remove the , sign in order to change the data type correctly:

 

Emil_Kos_0-1615559700811.png

 

I have used this formula to make it work:

 

Replace([ Sum_RWA GBP ], ',', '')

SrinivasanSugumaran
8 - Asteroid

thanks emil..

It worked.

Labels