ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Sort columns not complete tabel

ferha_jafri
アステロイド

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件の返信4
Christina_H
マグネター

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
アステロイド

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

Christina_H
マグネター

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

HomesickSurfer
クエーサー

Hi @ferha_jafri 

 

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

 

Workflow attached.

 

Capture.PNG

ラベル
トップのソリューション投稿者