Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
okalautar
Contributor
Contributor

CROSSTABLE

CROSSTABLE Please How do i choose random columns located at the end of the column list as the qualifiers field in a crosstable of about 2000 column..the columns i want to choose aren't at the beginning of the table.

Labels (1)
1 Reply
vinieme12
Champion III
Champion III

You can force the columns to move to front by creating an empty table

temp:

Load * Inline [

DimYouneed1,DimYouneed2,DimYouneed3

];

Concatenate (temp)

Load * From yourdatasource.qvd;

 

Main:

CrossTable(DimYouneed1,DimYouneed2,DimYouneed3,3)

Load * Resident temp;

drop table temp;

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.