Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Why doesn't the column name persist '%' ?

Gelly
7 - Meteor

Hello all, 

 

It might be a super simple and stupid question but I do not understand why is this happening. 

 

I have added a sample workflow with a small subset of proxy data. I want to add '%' to the column name dynamically but for some reason, if I use a formula tool and then use cross tab to convert the rows to column name then it becomes 'APR__' instead of 'APR%'

Way-2 works if I used a select tool to change the column name but I want it to be dynamic. 

 

I appreciate any help and suggestion. 

5 REPLIES 5
alexnajm
17 - Castor
17 - Castor

It is just the nature of the Crosstab tool, nothing you are doing wrong. It replaces any spaces, punctuation, or symbols with underscores 


most people will either use a select tool afterwards, or a dynamic rename to reverted back to what you would want it to be called!

 

DavidP
17 - Castor
17 - Castor

Hi @Gelly 

 

The Crosstab tool replaces all non alphanumeric characters with underscores, but there's a workaround as shown below

 

crostab rename.png

Gelly
7 - Meteor

I see. No wonder it kept removing any no alphanumeric value. 

I get it now. Thank you! 

 

atcodedog05
22 - Nova
22 - Nova

Hi @Gelly 

 

You can update your Way-1 like below

 

Screenshot 2024-10-30 200841.png

 

Hope this helps : )

Gelly
7 - Meteor

I understand it now. I will use dynamic rename. Thank you! 

Labels