The Summer Cup has officially kicked off! Get ready to learn, connect, and compete! Complete Community engagement tasks to earn points and unlock exclusive Summer Cup badges for your profile. Learn more here!

Alteryx Designer Desktop Discussions

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

Split Data in Duplicate Rows into Separate Columns

JoeHodgetts
7 - Meteor

Hello Community,

 

I'd like to split the data from duplicated weeks, e.g. weeks 26 and 34 in my example, into their own columns. I can achieve this with an ugly workflow and 5 tools, but it is not completely future proof (text to columns on a fixed number of columns), so I'm checking if there is a simpler way.

 

Thanks,

 

Joe

 

Split Scores.PNG

 

 

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @JoeHodgetts 

 

Here is a dynamic workflow. It add columns as it increases.

 

Workflow:

atcodedog05_0-1642610889759.png

 

Hope this helps : )

 

binuacs
21 - Polaris

@JoeHodgetts another option

 

binuacs_0-1642611145231.png

 

JoeHodgetts
7 - Meteor

@atcodedog05 Spot on, works dynamically too. Thank you.

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @JoeHodgetts 

Cheers and have a nice day!

Labels
Top Solution Authors