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 Dynamic fileds alphabetically in a analytical APP

sanchit
メテオール

Hi Everyone,

 

I have some columns named catergory, property1,property2, umbrella1,umbrella 2. and property and umbrella header names keep changing based on year,

I run this for every year taking year as a input from interface tool, I used select tool and try to sort by alphabets it works fine for only one year and remaining years it gets messed up 

 

like Eg- Categorty then property 1 , umbrella 1, property2,property3,propert4,umbrella 2,umbrella3 and so on.

what i need :

I just want them to be together Eg- Categorty then property 1,2,3,4,5 and umbrella 1,2,3,4,5

 

6件の返信6
binu_acs
ポラリス

@sanchit Can you provide sample input data and expected output?

sanchit
メテオール

please find the attached files

sanchit
メテオール
SPetrie
パルサー

There is a field sort in the CReW macro pack.

It would do what you are wanting.

SPetrie_0-1650911782038.png

SPetrie_1-1650911808374.png

 

 

binu_acs
ポラリス

@sanchit Another way of doing this by Transposing the values , sort and cross tab

 

binuacs_0-1650922980675.png

 

sanchit
メテオール

Thank you for this, even if you dont want to use a macro from crew you can just copy the tools used in them and this is effective if you have dynamic fields whose names keeps changing as well.

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