Alteryx Designer Desktop Discussions

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

Sorting QTD data from 1Q20XX to 1Q2X

limats
7 - Meteor

Hi All,

 

I have the following column data showing quarterly dates as below and I am trying to sort in chronological date order to 4Q14, 1Q15, 2Q15....2Q21. Can someone please advise how best to do this? 

 

1Q2015
1Q2016
1Q2017
1Q2018
1Q2019
1Q2020
1Q2021
2Q2015
2Q2016
2Q2017
2Q2018
2Q2019
2Q2020
2Q2021
3Q2015
3Q2016
3Q2017
3Q2018
3Q2019
3Q2020
4Q2014
4Q2015
4Q2016
4Q2017
4Q2018
4Q2019
4Q2020

 

Many thanks in advance.

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @limats 

 

First extract year and quarter. Then apply sort by year and quarter.

 

Workflow:

atcodedog05_0-1628232781541.png

 

Hope this helps : )

 

limats
7 - Meteor

Thanks - then what formula would I apply to join or pick up the left/right string data to get a column showing 4Q14, 1Q15 exactly in that format please? 

atcodedog05
22 - Nova
22 - Nova

Hi @limats 

 

Here is how you can do it.

 

Workflow:

atcodedog05_0-1628233117506.png

 

Hope this helps : )

 

limats
7 - Meteor

Thank you!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @limats 

Cheers and have a nice day!

Labels