In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Order of columns after CrossTab

BautistaC888
8 - Asteroid

Hello,

I need to keep a certain order of the columns after a CrossTab (Given by the column order).

The columns are dynamic, so i can't use the select tool.

I would like to know if there is way to order the columns after the cross tab.

Thank you.

2 REPLIES 2
gawa
16 - Nebula
16 - Nebula

hi @BautistaC888 

 

Please see the attached WF to maintain the specific order of columns.

image.png

Another advantage by this method is that you can maintain the original column name as it is.

In Cross-tab tool, they replace any special characters(except for underbar _ ) to underbar "_".

With your WF, column name becomes PARA_IMPUTAR, including underbar.

image.png

With my method, it preserves original name without underbar.

image.png

Qiu
21 - Polaris
21 - Polaris

@BautistaC888 
I uasually will create the new column names with the order number as prefix, but it does have the issue of "Underbar".

but we can deal with it with Dynamic Rename Tool if the naming is not so complex.

0124-BautistaC888.png0124-BautistaC888-A.png

Labels
Top Solution Authors