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

Split two columns into four based on value of first column

atjhsieh
6 - Meteoroid

Hi, I have a table that includes the following two columns: 

 

CountValue
Device Activity Count (7 Day)0
Device Activity Count (14 Day)3
Device Activity Count (30 Day)9
Device Activity Count (60 Day)9
Device Activity Count (90 Day)9
Device Activity Count (180 Day)9
Device Activity Count (365 Day)9
Device Run Count (7 Day)0
Device Run Count (14 Day)31
Device Run Count (30 Day)41
Device Run Count (60 Day)41
Device Run Count (90 Day)41
Device Run Count (180 Day)41
Device Run Count (365 Day)41

 

This repeats for each user. 

 

I would like to split the table into four columns based on Device Activity Count / Device Run Count as such: 

 

Device Activity CountActivity ValueDevice Run CountRun Value
Device Activity Count (7 Day)0Device Run Count (7 Day)0
Device Activity Count (14 Day)3Device Run Count (14 Day)31
Device Activity Count (30 Day)9Device Run Count (30 Day)41
Device Activity Count (60 Day)9Device Run Count (60 Day)41
Device Activity Count (90 Day)9Device Run Count (90 Day)41
Device Activity Count (180 Day)9Device Run Count (180 Day)41
Device Activity Count (365 Day)9Device Run Count (365 Day)41

 

Any thoughts on how I could accomplish this? 

 

Appreciate any assistance! 

2 REPLIES 2
echuong1
Alteryx Alumni (Retired)

You can filter on a key word such as "run." From there, you can join by position to get them next to each other.

 

echuong1_0-1600876867438.png

 

atjhsieh
6 - Meteoroid

Seems like it worked, thanks so much! 

Labels