Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
kash04kk
Contributor II
Contributor II

Loading multiple cross tables

Hello everyone,

I am trying to create multiple cross tables. I've an excel file with sheets 2009 and 2010. The header fields in both are same. What is wrong in the below script?? Thanks

for each vSheet in '2009', '2010'

CrossTable(Description, Data)

LOAD*

FROM

(ooxml, embedded labels, table is $(vSheet));

NEXT;

11 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Check the table viewer (Ctrl-T) after the load. If the sheets have any differences in the fields (and remember that field names in QV are case-sensitive) then the second table will not be auto-concatenated. Look for a table named T_Data1 or T_Data_1.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
kash04kk
Contributor II
Contributor II
Author

the sheets have the same fields. after load the table viewer looks like this:

tableviewer.jpg