<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Loading multiple cross tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836729#M656148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan. This worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i notice that only 2010 is being converted as cross table i.e. only 2010 fields showing as Description and Data. 2009 fields are showing as they are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 06:52:01 GMT</pubDate>
    <dc:creator>kash04kk</dc:creator>
    <dc:date>2015-06-30T06:52:01Z</dc:date>
    <item>
      <title>Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836720#M656135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each vSheet in '2009', '2010'&lt;/P&gt;&lt;P&gt;CrossTable(Description, Data)&lt;/P&gt;&lt;P&gt;LOAD*&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is $(vSheet));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 07:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836720#M656135</guid>
      <dc:creator>kash04kk</dc:creator>
      <dc:date>2015-06-28T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836721#M656136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens? Wrong results or an error message? Noticeable is the semi-colon behind the NEXT then control-statements like SUB / IF / FOR will be written without one. Further you load with a field-wildcard - are the sheets not absolute equal they won't be automatically concatenated - you will get two tables and by many identical fields a lot of synthetic keys which will need a lot of ressources to be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 07:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836721#M656136</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-28T07:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836722#M656137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post sample file to check with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 10:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836722#M656137</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-28T10:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836723#M656138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus for the response. There's no error in running the script but the cross table is made of only "2009" sheet. I want the cross tables for both 2009 and 2010 sheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 10:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836723#M656138</guid>
      <dc:creator>kash04kk</dc:creator>
      <dc:date>2015-06-28T10:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836724#M656139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Marco. The file is of my office containing private information that i can't share. When i run the script, there are no errors but cross table of only 2009 is made. I want cross tables to be made for both 2009 and 2010 sheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 10:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836724#M656139</guid>
      <dc:creator>kash04kk</dc:creator>
      <dc:date>2015-06-28T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836725#M656140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How looks the log-file from load (enabling within the document-properties in tab general)? You could also use the debugger and/or TRACE-statements to see what is going on within the load-execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 11:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836725#M656140</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-28T11:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836726#M656141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as we are interested in the format rather than the content of your file, maybe you could create some random data to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 16:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836726#M656141</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-28T16:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836727#M656143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same script worked for me. It loaded data from two sheets 2009 and 2010. Please check the sheet names for any typos in your excel file such as leading or trailing spaces etc. Just verify to load only sheet 2010 by changing for each statement like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each vSheet in '2010'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though semicolon after NEXT may not give any error, it is not required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KKR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 05:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836727#M656143</guid>
      <dc:creator />
      <dc:date>2015-06-29T05:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836728#M656145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that the problem is the crosstable. The first XL tab is loaded and then crosstabled. When the next tab is loaded and compared to the existing QV table and sees it as different, so it creates a second table, which it then cross tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you need to do is load both tables without the crosstable, and then perform the crosstable to the resident table, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Each vSheet in '2009', '2010'&lt;/P&gt;&lt;P&gt;&amp;nbsp; T_Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM &lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is $(vSheet));&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable(Description, Data)&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Resident T_Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table T_Data;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 05:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836728#M656145</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-29T05:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836729#M656148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan. This worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i notice that only 2010 is being converted as cross table i.e. only 2010 fields showing as Description and Data. 2009 fields are showing as they are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 06:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836729#M656148</guid>
      <dc:creator>kash04kk</dc:creator>
      <dc:date>2015-06-30T06:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836730#M656150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 07:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836730#M656150</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-30T07:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple cross tables</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836731#M656152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the sheets have the same fields. after load the table viewer looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tableviewer.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91274_tableviewer.jpg" style="height: 360px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 07:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-cross-tables/m-p/836731#M656152</guid>
      <dc:creator>kash04kk</dc:creator>
      <dc:date>2015-06-30T07:34:24Z</dc:date>
    </item>
  </channel>
</rss>

