Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Madhura
Contributor II
Contributor II

How can i convert rows to column in pivot table

Madhura_0-1710852351240.png

This is the sheet that I created in Tableau. How can I replicate it in QlikView? The values are the sum of sales (in the block). I have tried creating a pivot table, but I can't get months as columns; all months are in one column instead of different columns. Thanks in advance.

 

Labels (1)
  • Chart

5 Replies
Clement15
Partner - Creator III
Partner - Creator III

Hello, normally you should be able to put dimensions in columns in a pivot table

Clement15_0-1710854722101.png

 

LRuCelver
Partner - Creator III
Partner - Creator III

You are either using the wrong chart, have set up the pivot table incorrectly or there is a problem with your data model.

Here is how it should look:

LRuCelver_0-1710855047664.pngLRuCelver_1-1710855071162.png

And here is the data I've used:

Sales:
Load
	"Product Line",
    Date(MakeDate(Year, Month), 'MMMM YYYY') as "Order Month",
    Num(Sales) as Sales
Inline [
Product Line, Year, Month, Sales
Classic Cars, 2003, 1, 36550
Classic Cars, 2003, 2, 18940
Classic Cars, 2003, 3, 97090
Classic Cars, 2003, 4, 57550
Classic Cars, 2003, 5, 92910
Classic Cars, 2003, 6, 43840
Motorcycles, 2003, 1, 
Motorcycles, 2003, 2, 22290
Motorcycles, 2003, 3, 10770
Motorcycles, 2003, 4, 21810
Motorcycles, 2003, 5, 19820
Motorcycles, 2003, 6, 1860
];
Madhura
Contributor II
Contributor II
Author

Madhura_0-1710856110530.png

Im not getting any options for rows and columns.

LRuCelver
Partner - Creator III
Partner - Creator III

Click on your dimension and drag it to the top right corner of your chart:

LRuCelver_0-1710856880821.png

Drop it there and it should be used as the columns:

LRuCelver_1-1710856903409.png

 

Madhura
Contributor II
Contributor II
Author

Got it,thank you so much