Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Coolavin
Partner - Contributor III
Partner - Contributor III

In Qlik Sense, how do I combined two different rows?

I have a table with student data. the students each have row for each exam they took. I need to merge the rows somehow so that each student has one row with each exam grade taking up one column. There are only two exams. Is there an easy way to do this?

For example in the example below I need these two records into one row and really just the exam grade into one or the other row. 

 

 

Untitled.png

1 Solution

Accepted Solutions
Quy_Nguyen
Specialist
Specialist

Try a Pivot table like this:

Capture.PNG

View solution in original post

3 Replies
Quy_Nguyen
Specialist
Specialist

Is this what you want? Just create a Pivot table and follow the settings in picture below.

Aww I don't know why I could not add an image here. Please view it in the attachment

 
 
Quy_Nguyen
Specialist
Specialist

Try a Pivot table like this:

Capture.PNG

Coolavin
Partner - Contributor III
Partner - Contributor III
Author

Yes! thank you very much, that really helped. I do have one more question though. 

If both exams are passed is there a way to hide those records? Seems like I would have to create some logic on those specific columns in the pivot table but I am not sure how to do that.