We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Extracting Headers from Column Cells

Dag2
5 - Atom

Hello,

I have data in the following format:

EVENT_IDEvent name234Right_2Right_3Right_4
117812A submission has been submitted.55505692135102 Submission IDCourse Mod ID 
125653All the submissions are being downloaded.2134657  Course Mod ID  
125711An online text has been uploaded.50624172097811 Submission IDCourse Mod ID 
115817Assignment override created2824212016148557 Course Mod IDUser ID2
1192Comment created7747055636102134629Comment IDSubmission IDCourse Mod ID
105292Comment deleted7911655908312120161Comment IDSubmission IDCourse Mod ID
94204Course module viewed2134660  Course Mod ID  
1372Discussion created7974161827790 Discussion IDCourse Mod ID 
120036Submission updated.12102901  Course Mod ID 

 

In the columns 2,3,4 are IDs which can be mapped to Right_2, Right_3, Right_4. In the last row there is an outlier number in column 2, which is not an ID. This is due to the extraction method I used before. I want to create columns Headers for the IDs they belong to and arrange the columns. I also want to delete the Outlier numbers which are not mapped to any column name.

 

This is the Output I am trying to achieve:

EVENT_IDEvent nameCourse Mod IDComment IDSubmission IDDiscussion IDUser ID2
117812A submission has been submitted.2135102 5550569  
125653All the submissions are being downloaded.2134657    
125711An online text has been uploaded.2097811 5062417  
115817Assignment override created2120161   48557
1192Comment created2134629774705563610  
105292Comment deleted2120161791165590831  
94204Course module viewed2134660    
1372Discussion created1827790  797416 
120036Submission updated.2102901    

 

Is there a way to do without filtering for each event and unify it afterwards?

I have attached a file, which contains all my unique event names.

Help would be much appreciated! Thank you in advance.

 

Best regards,

2 REPLIES 2
OllieClarke
15 - Aurora
15 - Aurora

Hi @Dag2 

Here's a way of doing it:

image.png

 

Hope that helps,

 

Ollie

Dag2
5 - Atom

That worked great! Thank you very much!

Labels
Top Solution Authors