Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to display column values into rows?

Hi,

I have a table like,

UsernameMonthSalary
AJan1000
BMar2000
CDec2500

i want the resultant table like,

UsernameJanMarDec
A1000--
B-2000-
C--2500
1 Solution

Accepted Solutions
Not applicable
Author

Hi,

You can use pivot table in chart to change a row into column.

Regards,

Amay Patil.

View solution in original post

8 Replies
Not applicable
Author

Hi,

You can use pivot table in chart to change a row into column.

Regards,

Amay Patil.

jagan
Luminary Alumni
Luminary Alumni

Hi,

Use pivot table and drag and drop the Month dimension to the top of the header.

Hope this helps you.

Regards,

jagan.

jvitantonio
Luminary Alumni
Luminary Alumni

Try this:

temp:

LOAD * INLINE [

    Username, Month, Salary

    A, Jan, 1000

    B, Mar, 2000

    C, Dec, 2500

];

a:

left join

load Username,Salary as [Jan]

Resident temp

where Month = 'Jan';

left join

load Username,Salary as [Mar]

Resident temp

where Month = 'Mar';

left join

load Username,Salary as [Dec]

Resident temp

where Month = 'Dec';

drop Fields Month, Salary;

Not applicable
Author

hi

cursor keep on month then drag it, then you see like this image

now then this drag cursor drop on then salary column like this image

then output like this

Not applicable
Author

hi

use the pivot table

drag and drop field on the top of the table tab

Anonymous
Not applicable
Author

Thank you All..

Not applicable
Author

Spartan27215
Partner - Creator
Partner - Creator

QlikSense SaaS:  How ?