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: 
Not applicable

Crosstable using a load resident

Hi all

I need to do a crosstable on a table that I already have in my app. Is it possible to do so using a load resident? If not, how should I do it?

1 Solution

Accepted Solutions
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

You can do this:

Table:

Load *

Inline [

ID, 2016-01-01, 2016-01-02

1, A,

2, B, C

3, , D

];

Table2:

CrossTable(Date, Data)

LOAD ID as Iden,

     [2016-01-01],

     [2016-01-02]

Resident Table;

And the result would be like:

Screenshot_1.jpg

View solution in original post

1 Reply
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

You can do this:

Table:

Load *

Inline [

ID, 2016-01-01, 2016-01-02

1, A,

2, B, C

3, , D

];

Table2:

CrossTable(Date, Data)

LOAD ID as Iden,

     [2016-01-01],

     [2016-01-02]

Resident Table;

And the result would be like:

Screenshot_1.jpg