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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

What is CrossTable

HEllo ,

Can any one tell me what is a cross table with suitable example ??

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Consider that you have below table...

Temp:

Load * Inline

[

  Customer, 2011, 2012, 2013, 2014

  A, 100, 120, 160, 90

  B, 110, 60, 70, 80

  C, 120, 40, 100, 120

  D, 95, 180, 200, 300

];

Crosstable will convert this data in Customer, Year, Sales Format as below..

CrossTable(Year,Sales)

Load * Resident Temp;

Drop Table Temp;

View solution in original post

3 Replies
MK_QSL
MVP
MVP

Consider that you have below table...

Temp:

Load * Inline

[

  Customer, 2011, 2012, 2013, 2014

  A, 100, 120, 160, 90

  B, 110, 60, 70, 80

  C, 120, 40, 100, 120

  D, 95, 180, 200, 300

];

Crosstable will convert this data in Customer, Year, Sales Format as below..

CrossTable(Year,Sales)

Load * Resident Temp;

Drop Table Temp;

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See this blog post: The Crosstable Load


talk is cheap, supply exceeds demand
its_anandrjs
Champion III
Champion III

Hi Nikhil,

Read this post that will help you.

Cross Table

Regards

Anand