Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Crosstab Data Structure

I am trying to create a dashboard with interactive data (i.e. clicking one table also updates the other table). I'm quite a newbie with Qlikview and need some guidance.

I have a main data file, which I've attached as a shortened version. Upon uploading the data, I crosstab all the information and have the following script (my version will be slightly longer):

CrossTable(QUESTIONS, Data, 4)

LOAD respid,

     COUNTRY,

     ID,

     Cluster,

     q8,

     q11_1,

     q11_2,

     q11_3,

     q11_4,

     q11_5,

     q11_6,

     q11_7,

     q11_8,

     q11_9,

     q11_10,

     q11_12,

     q11_13,

     q11_15,

     q11_16,

     q11_17,

     q11_18,

     q11_19,

     q11_20,

     q11_21,

     q11_22,

     q11_23,

     q11_24,

     q11_25,

     q11_26,

     q11_28,

     q11_30,

     q11_31,

     q11_32,

     q11_33,

     q11_35,

     q11_36,

     q11_37,

     q11_38,

     q11_avg,

     q12_1,

     q12_2,

     q12_3,

     q12_4,

     q12_5,

     q12_6,

     q12_7,

     q12_8,

     q12_9,

     q12_10,

     q12_11,

     q12_12,

     q12_13,

     q12_14,

     q12_15,

     q12_16,

     q12_17,

     q12_18,

     q12_19,

     q12_20,

     q13_1,

     q13_2,

     q13_3,

     q13_4,

     q13_5,

     q13_6,

     q13_7,

     q13_8,

     q13_9,

     q13_10,

     q13_11,

     q14,

FROM

xxxx

After this step, I'm stuck as to do what to do. I'm looking to create two separate straight tables with all of Q12 in one table (i.e.q12_1,q12_2,q12_3 etc), and similarly all of Q11 in another straight table with all of Q11 (q11_1,q11_2,q11_3... etc) with both of them being able to interact to each other such that when I click on data in the Q12 table, the Q11 table also populates.

How can I achieve the two separate straight tables without doing set analysis at the straight table stage and rather at the scripting level?

Thanks in advance.

10 Replies
Not applicable
Author

Hi Jonathan,

Understood.

I have attached the qvw files along with the qvd file.

What I'm trying to achieve here is, for example, when I click on single in the left hand table, the right hand table should populate what hobbies single people enjoy doing based on the unique ID.

Let me know what you think and thanks in advance.