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

Create Multi Header Field

PNau
7 - Meteor

I am looking to parse my header by the underscore _ into multi headers (e.g., Name1_A_1 would become Name1 and I would then have either two new records under as A and 1 or two separate header fields if possible.  I created a new field as I could not see a way to have multi headers in the Crosstab tool :(

 

Happy with just being pointed in the right direction.

 

Thank you.

 

 

 

4 REPLIES 4
tcroberts
12 - Quasar

Could you provide a small example of your desired output? I feel like I understand the headers you want, I'm just not sure what data you would like under each of them.

 

Thanks!

 

BenMoss
ACE Emeritus
ACE Emeritus

I've managed to get close to the desired output but one of the problems you will face is that you can't have repeated headers in Alteryx, i.e. Name 1 repeated three times as the header row.

 

Here's where I got too.

 

 

PNau
7 - Meteor

Thank you. .

 

Converting the Output to csv, alleviates the need to convert the fields to double, which would cause the headers that are not numeric to blank.

PNau
7 - Meteor

This solution helped me a couple of years later, thanks again!

Labels