In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

i have date in MM-YYYY format , i need to sort records based on Year in ascending order.

yogeshrajamani
6 - Meteoroid

i need to have sort as below

 

01-2016

02-2016

03-2016

01-2017

02-2017

03-2017

01-2018

02-2018

03-2018

 

3 REPLIES 3
MarqueeCrew
20 - Arcturus
20 - Arcturus

How about a formula for SORT_DATE

 

RIGHT([date],4) + "-" + left([date],2)

 

 that should sort well. 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Qiu
21 - Polaris
21 - Polaris

@yogeshrajamani 
Lets just convert it to Date.

CaptureA11.PNG

grazitti_sapna
17 - Castor

Hi @yogeshrajamani,

 

Here is my take on this problem.

 

grazitti_sapna_0-1614231333808.png

 

I hope it helps.

Sapna Gupta
Labels
Top Solution Authors