Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Kind of Transpose

LOAD * INLINE [

    Field, David, Mark, Lea, Nathalie, John

    Country, Poland, Poland, England, England, France

    Town, Krakow, Krakow, Leeds, London, Paris

    Pet, Dog, Cat, Rabbit, Dog, Bear

];

I would like to have the result like in the green Table box, but instead of a table box I would like to use a straight table ... BUT without having to populate the names manually (I have many of them and keep growing).

Thank You,

Raphael

14-11-2017 10-56-30.png

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Use crosstable() like:

Crosstable(Names,Values) LOAD * INLINE [

    Field, David, Mark, Lea, Nathalie, John

    Country, Poland, Poland, England, England, France

    Town, Krakow, Krakow, Leeds, London, Paris

    Pet, Dog, Cat, Rabbit, Dog, Bear

];

And then use pivot in the UI

Capture.JPG

View solution in original post

6 Replies
sunny_talwar

Have you considered using The Crosstable Load?

CrossTable (Name, Data)

LOAD * INLINE [

    Field, David, Mark, Lea, Nathalie, John

    Country, Poland, Poland, England, England, France

    Town, Krakow, Krakow, Leeds, London, Paris

    Pet, Dog, Cat, Rabbit, Dog, Bear

];


Capture.PNG

tresesco
MVP
MVP

Use crosstable() like:

Crosstable(Names,Values) LOAD * INLINE [

    Field, David, Mark, Lea, Nathalie, John

    Country, Poland, Poland, England, England, France

    Town, Krakow, Krakow, Leeds, London, Paris

    Pet, Dog, Cat, Rabbit, Dog, Bear

];

And then use pivot in the UI

Capture.JPG

Anonymous
Not applicable
Author

Thanks, I did , also did consider Generic loading but that is nor what I am after.

sunny_talwar

Then what exactly are you trying to get?

Anonymous
Not applicable
Author

Thank you that is what I was after

Anonymous
Not applicable
Author

I was after the below from Tresesco, just I did not specify it correctly, I did not realize you could use a Pivot table for that, thank you.