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: 
IgorGol
Contributor III
Contributor III

Make Pivot/Unpivot on Table

Hi,

I have this table :

Employee NumberCategoryHoursMonth
111Dev1001
111Mainten1901
222Dev2001
333Mainten3002
222POC100

2

 

And I want to transform it to this :

Employee NumberDevMaintenPOCMonth
11110019001
222200  1
333 3000 2
222  1002

 

But I don't sure what I need to write in script ? (cross?)

 

Thanks!

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Hi @IgorGol 

I suggest you look into the GENERIC 

A good read on the method is @hic design blog post The Generic Load .

View solution in original post

4 Replies
Lisa_P
Employee
Employee

This is best done in the sheet view when creating a pivot table:

9a8b0cc3b62e445bbd0a9cffaf315969.png

IgorGol
Contributor III
Contributor III
Author

Thanks,

But I would like to do the "transform" in script and not in pivot table

cause I want to create some charts on it later

May you help?

 

Thanks,

Igor

 

IgorGol
Contributor III
Contributor III
Author

Anyone?

 

 

Vegar
MVP
MVP

Hi @IgorGol 

I suggest you look into the GENERIC 

A good read on the method is @hic design blog post The Generic Load .