Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Table

Hello,

How can I change a table as tab1 to tab2?

Thank you very much!

tab1:

Header1
Header 2Header 3
AB

C

tab2:

NameNumber
Header1A
Header2B
Header3C
1 Solution

Accepted Solutions
d_koti24
Creator II
Creator II

Hi,

By Using Cross table,you can get this one.

Find the below sample qvw.

View solution in original post

5 Replies
Not applicable
Author

Use the Cross table function in your loading script.

Watch this video it explain how it can be done : Loading Cross Tables

MK_QSL
MVP
MVP

CrossTable(Name, Number)

Load '1' as Dummy, * Inline

[

  Header1, Header2, Header3

  A, B, C

];

Drop Field Dummy;

d_koti24
Creator II
Creator II

Hi,

By Using Cross table,you can get this one.

Find the below sample qvw.

settu_periasamy
Master III
Master III

Hi,

if you want to transpose the data, try the below script.

Tab2:

LOAD @1 as Name,

     @2 as Number

FROM

[https://community.qlik.com/thread/169114]

(html, codepage is 1252, no labels, table is @1, filters(Transpose()));

if you have the source in excel, try the below script.

Directory;

LOAD @1 as Name,

     @2 as Number

FROM

Book1.xlsx

(ooxml, no labels, table is Sheet1, filters(Transpose()));

MK_QSL
MVP
MVP