Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Removing "Count" in Name After Cross Tab Before Table in Multiple Fields

JacobGFMR
7 - Meteor

Hello,

 

I am needing help removing "Count_" from the Column Name from multiple columns. 

I have used the cross tab element to determine the count, but I am now needing to remove the "Count_" from the column names. 

I know I can use the Text To Columns element to achieve this, but it only works for 1 column name at a time, and I have close to 15 and new ones could exist after data is obtained in the work flow. 

 

This is how the data looks..

ItemSubCount_JoeCount_BobCount_Mary
AAAAABBBBB147
CCCCCDDDDD258
EEEEEFFFFF369

 

This is how I need to have it look.

ItemSubJoeBobMary
AAAAABBBBB147
CCCCCDDDDD258
EEEEEFFFFF369

 

Thank you. 

1 REPLY 1
BA02
7 - Meteor

You can use the dynamic rename tool. Try joining the datasource to the "L" input and select "Remove Prefix/Suffix" as the Rename Mode. You can do this to multiple fields at once. Hope it helps!

Labels
Top Solution Authors