Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Shirazc123
Contributor
Contributor

Column to row

image.jpg

Hi!

I need to get from option 1 to option 2.

how can I do that?

 

Thanks!

Labels (1)
2 Replies
JHuis
Creator III
Creator III

Yes,

you have to use the Crosstab function (inside qliksense script) :

https://help.qlik.com/nl-NL/sense/May2023/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/...

 

 

cristianj23a
Partner - Creator III
Partner - Creator III

Hello, here I send you an example with the cross table.

Data:

LOAD * INLINE [
Product, January, February, March
Apples, 100, 150, 200
Pears, 50, 75, 125
];

cristianj23a_0-1691685328295.png

 

Final:

Crosstable (Month, Sales, 1)
LOAD * INLINE [
Product, January, February, March
Apples, 100, 150, 200
Pears, 50, 75, 125
];

cristianj23a_1-1691685396959.png

 

Regarts.

 

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.