Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Nikhil2725
Creator II
Creator II

Columns into headers

Hi All,

I have a table as below:

Client_id,batch_id,Questions and Answers are the header in the table:

Client_idbatch_IDQuestionsAnswer
15851. Overall, what was your impression of the educational program?A1
15852. The program was successful in educating me about important financial concepts:A2
15853. The course work was relevant in helping me plan for and/or pay my monthly household expenses:A3
15854. I'm likely to make changes to my monthly finances as a result of the educational program:A4
15861. Overall, what was your impression of the educational program?A21
15862. The program was successful in educating me about important financial concepts:A22
15863. The course work was relevant in helping me plan for and/or pay my monthly household expenses:A23
15864. I'm likely to make changes to my monthly finances as a result of the educational program:A24

 

However, Now i want to display as below: 

Client_idbatch_ID1. Overall, what was your impression of the educational program?2. The program was successful in educating me about important financial concepts:3. The course work was relevant in helping me plan for and/or pay my monthly household expenses:4. I'm likely to make changes to my monthly finances as a result of the educational program:
1585A1A2A3A4

 

Kindly Help me in displaying as shown.

 

Regards,

Nikhil

5 Replies
Channa
Specialist III
Specialist III

try cross table

Channa
Nikhil2725
Creator II
Creator II
Author

Hi,
Thanks for the reply...

Can u able to send the brief code about Cross table...
ignacio_pena
Contributor III
Contributor III

Hello,

You can use a Pivot Table with this configuration:

In the pivot table you should put the "Question" field as a column. The "Answer" field has been used as an expression with an Only (Answer).

pivot.PNG
Confi.PNG

Regards,

 

Nikhil2725
Creator II
Creator II
Author

HI, Can u able to send the cross table code for the above mentioned code?
Channa
Specialist III
Specialist III

https://www.youtube.com/watch?v=3D5DnJ0DACk

 

have nice video bro it will help try

you just have function Crosstabl before

Channa