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.
SOLVED

Transpose to Crosstab and appending field names

LincolnMike
8 - Asteroid

Hi,

trying to get specific field names based on my data.  I get to a certain point and I am stuck.

The image below is my sample input and expected output.  I also included a workflow sample.


iNPUT_OUTPUT.JPG

3 REPLIES 3
LordNeilLord
15 - Aurora

Hey @LincolnMike

 

This should get you somewhere close.

 

  • I transposed the data first
  • created a concatenated header
  • did a little regex replace (because crosstab annoyingly removes special characters)
  • used summarize to count the number of "tracks"
  • Crosstabbed the data back
  • lastly a little dynamic rename to put the special characters back in the headers

 

Transpose Crosstab.PNG@LordNeilLord

Part time Tableau, Part Time Alteryx. Full Time Awesome


Data Lover

LincolnMike
8 - Asteroid
Hi LNL. I will try this first thing Monday morning
LincolnMike
8 - Asteroid

Thank you LNL.  I used the REGEX you created.  I spent the day understanding the formula, and found more information about REGEX.  I found a site regex101.com and the Alteryx help site.  I added a few more Formulas to what you started for me and i have all that I need...for this question :)

I am sure I will have more questions soon.

 

Labels
Top Solution Authors