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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
jleefjcapital
Creator II
Creator II

How to transpose rows and columns in Qlikview

I am trying to generate a transpose step in Qlikview, which I can use in Qliksense.   I'm not sure how  to go about generating this.  The date file I'm using is an Excel file, and I've attached for your reference.

Currently, each year is a column, but I would like to create a new column for Year and display it vertically.

2 Replies
trdandamudi
Master II
Master II

May be as below:

Data:

CrossTable (Year,Sales,1)

LOAD GeoName,

     [2001],

     [2002],

     [2003],

     [2004]

FROM

[..\..\..\Temp\TodayTestFile.xlsx]          '<------ Update with your file location here

(ooxml, embedded labels, table is Sheet1);

Note:

Your Excel file has lot of data, so I created a sample excel file as below for the above code:

GeoName2001200220032004
United States (Metropolitan Portion)100101102103
Abilenem, TX (Metropolitan Statistical Area)200201202203
Abilenem, OH (Metropolitan Statistical Area)300301302303
Not applicable

Hi Jes

This will help you out.

Cross Table in QlikView - YouTube

-Ashok