Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
arusanah
Creator II
Creator II

crosstable help

I have a sheet where I need to change column2-6  to rows .  and column 1 as column header for all 5 columns.

attached is sample data file. can somebody help writing cross table () . pls

   

Recipient Identifier1111111111111111111111111
Record Identifier1000110002100031000410005
MonthJanuaryFebruaryMarchAprilMay<-----actual data
Year20162016201620162016
Citizenship Code (CDE_CITSHP)11111
NAM_CITSHPUS citizenUS citizenUS citizenUS citizenUS citizen

   

Recipient IdentifierRecord IdentifierMonthYearCitizenship Code (CDE_CITSHP)NAM_CITSHP
1111110001January20161US citizen
1111110002February20161US citizen
1111110003March20161US citizen<-------output
1111110004April20161US citizen
1111110005May20161US citizen
1 Solution

Accepted Solutions
sunny_talwar

Try this:

Table:

LOAD [person ID],

    month,

    uid,

    pwd,

    year

FROM

[https://community.qlik.com/thread/219215]

(html, codepage is 1252, embedded labels, table is @1, filters(

Transpose()

));


Capture.PNG

View solution in original post

6 Replies
sunny_talwar

I don't see anything attached.

arusanah
Creator II
Creator II
Author

somehow not letting me edit my query. I have attached a screen shorty of data

sunny_talwar

What is the output you are expecting to see?

arusanah
Creator II
Creator II
Author

output should be like this

  

personIDmonthuidpwdyear
194aw2013
163sw20132
147cz20132
114tg20132
12773420132

t

arusanah
Creator II
Creator II
Author

ignore 2 's at end

sunny_talwar

Try this:

Table:

LOAD [person ID],

    month,

    uid,

    pwd,

    year

FROM

[https://community.qlik.com/thread/219215]

(html, codepage is 1252, embedded labels, table is @1, filters(

Transpose()

));


Capture.PNG