Alteryx Designer Desktop Discussions

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

Sort columns not complete tabel

ferha_jafri
8 - Asteroid

Hello Experts,

 

I have scenario where I want to sort columns not table, in the input data I have country column corresponding to sale column, and I want to sort Country as per Sales sort. I the attached excel Sheet1 is the input and output has the desired output.

 

Thanks

4 REPLIES 4
Christina_H
14 - Magnetar

Use a select tool to separate the columns you want to sort, then rejoin by position.

Christina_Hurrell_0-1636454535507.png

(The select tool isn't strictly necessary since join has an embedded select, but makes it easier to see what's happening)

ferha_jafri
8 - Asteroid

But on what basis you will join as if you do it on the basis Country it will disturn the sort order.

Christina_H
14 - Magnetar

@ferha_jafri See option top left of previous image - select Join by Record Position

HomesickSurfer
12 - Quasar

Hi @ferha_jafri 

 

Here's a solution to consider, without joining fields:

 

Workflow attached.

 

Capture.PNG

Labels