Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

change the format of an excel sheet

Dear All,

I need ur help to create a loop  to change the position of rows in an excel sheet

let me explain1st table is the current format

DateFatherMotherDaughter
1/2/20141102044
1/3/20142112145
1/4/20143122246
1/5/20144132347
1/6/20145142448
1/7/20146152549
1/8/20147162650
1/9/20148172751
1/10/20149182852

the 2nd Table is the format i need

DateValues
Father1/2/20141
Father1/3/20142
Father1/4/20143
Father1/5/20144
Father1/6/20145
Father1/7/20146
Father1/8/20147
Father1/9/20148
Father1/10/20149
Mother1/2/201410
Mother1/3/201411
Mother1/4/201412
Mother1/5/201413
Mother1/6/201414
Mother1/7/201415
Mother1/8/201416
Mother1/9/201417
Mother1/10/201418
Daughter1/2/201420
Daughter1/3/201421
Daughter1/4/201422
Daughter1/5/201423
Daughter1/6/201424
Daughter1/7/201425
Daughter1/8/201426
Daughter1/9/201427
Daughter1/10/201428
12 Replies
Anonymous
Not applicable
Author

Dear Manish,

the problem is that your code requires that i write  each column and i have more than 1000 columns

so i will have to write each column

can you help me ?

alexandros17
Partner - Champion III
Partner - Champion III

I've tested the code I sent to you ... try it, let me know any problem

MK_QSL
MVP
MVP

Give me at least 10-15 columns...

You just have to write something like below..

CrossTable(Type, Value)

Load

     Date,

     Column1,

     Column2,

     ...

From TableNameandLocation;