Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Tile tool sort descending

mphillips27
7 - Meteor

I have financial data group by month and within that month group I need to sort the numbers in descending order. The tile tool would work great using unique value and grouping by month but it sorts the values in ascending order. Can you configure this to sort descending? If not is there a work around to keep the grouping by month and sort the values descending?

9 REPLIES 9
atcodedog05
22 - Nova
22 - Nova

Hi @mphillips27 

 

Why not use sort tool later and sort by descending. Tile tool doesnt have the option.

atcodedog05
22 - Nova
22 - Nova

Hi @mphillips27 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1629982913612.png

 

Hope this helps : )

mphillips27
7 - Meteor

I'm not sure if our tile tool is configured the same because this is not working for me.

 

 

output of tile tool -- Tile_num sorts by ascending but I want it sorted descending

 

Sort tool configuration:

 

 

After sort tool:

 

Something is not the same as yours 

 

 

atcodedog05
22 - Nova
22 - Nova

Hi @mphillips27 

 

Unique column should be month and groupby should be nothing in tile tool.

mphillips27
7 - Meteor

That still does not give me the desire result

mphillips27_0-1629985937915.png

 

output of tile tool

mphillips27_1-1629985960987.png

 

after sort

mphillips27_2-1629985975708.png

 

 

It sorts the tile sequence but the values were not sorted in the first place so it has no order

 

atcodedog05
22 - Nova
22 - Nova

Hi @mphillips27 

 

In sort tool sort by values in instead of seqnum like below.

 

atcodedog05_0-1629985854868.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @mphillips27 

 

You can try to group together by sorting like this without tile tool.

 

atcodedog05_0-1629986009592.png

 

Hope this helps : )

mphillips27
7 - Meteor

Ok did that and it sorts my value descending but the sequence number is not it is assigned from the tile tool needs to be ascending because I am using it as a rank (highest value should be assigned a rank of 1 and so on), I need the sequence number to be in order ascending.

mphillips27_0-1629986461997.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @mphillips27 

 

Use sort first on month and value and then use tile tool.

 

atcodedog05_0-1629986554950.png

 

Hope this helps : )

 

Labels
Top Solution Authors