Alteryx Designer Desktop Discussions

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

Sort header-row after cross tabbing

dottman
7 - Meteor

Hello - I'm struglling to get these headers sorted geographically, Northeast = 1, Mid Atlantic = 2, Southeast = 3, Great Lakes = 4, Central = 5, Northwest = 6, West = 7 and total = 8.

I wrote a formula similar to the above and tried to sort before cross-tabbing but it automatically sorted alphabetically. Any help would be appreciated!

 

sort.PNG

2 REPLIES 2
alexnajm
17 - Castor
17 - Castor

Before you Crosstab, I would add the 1, 2, 3, etc. to the beginning of the region - i.e. 1_Northeast, 2_MidAtlantic, etc.

 

That way, they should show in the correct order after the Crosstab. Then you can remove the numbers with a Dynamic Rename tool after the Crosstab! Likely a RegEx replace - I can try to help further if you send your workflow and a sample of the data 

binuacs
21 - Polaris

@dottman one way of doing this

image.png

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels