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

Data as column (Table)

Hello!

Is possible, turn some years as Columns?

I tried, but it failed.

Thanks !

1 Solution

Accepted Solutions
tobias_klett
Partner - Creator II
Partner - Creator II

Hello
got to chart properties > presentation and mark "horizontal"

View solution in original post

17 Replies
Anonymous
Not applicable
Author

Load your table as Cross table

Not applicable
Author

Create as a pivot table, then drag the dimension up as a column

Anonymous
Not applicable
Author

I tried, but it stays like this.table.jpg

Anonymous
Not applicable
Author

I tried, but it didnt work.

I think i need expression as dimension. Am i right?

MK_QSL
MVP
MVP

What is the dimension and expression you are using?

Anonymous
Not applicable
Author

Dimension i'm using 'Year'.

And expression, 2 var%.

You can see it in the image, in first topic.

Thanks !

MK_QSL
MVP
MVP

what's wrong ? what you expect and what you getting?

Anonymous
Not applicable
Author

I need to have the year 2011, 2012, 2013 and 2014 as column. And expressions as lines.

But it's not possible just using Cross Table and drag it to the right place.

MK_QSL
MVP
MVP

Do something like  this.... don't know your exact column/Field name so giving suggestion using sample field..

Let we have Customer, Year and Sales as Field... You can use as below

Dimension

Customer

Expression

SUM({<Year = {'$(=Max(Year))'}>}Sales)

SUM({<Year = {'$(=Max(Year)-1)'}>}Sales)

SUM({<Year = {'$(=Max(Year)-2)'}>}Sales)

SUM({<Year = {'$(=Max(Year)-3)'}>}Sales)

Hope this helps...