<?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: Problem loading Excel data from a crosstable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-loading-Excel-data-from-a-crosstable/m-p/309918#M709135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it comes to crosstable loads, I always do one of both&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do the crosstable load using * and then a second load resident from the previous renaming and changing&lt;/LI&gt;&lt;LI&gt;Use the Transformation Step to change what you need to change and then do the crosstable load&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Anyway, taking a look at your code, you are using the frist 6 columns (those taht are not going to be cross loaded) but you don't add in the LOAD part those columns that correspond to the MasterDate and ProfileValue, so my guessis that your script should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Profiles:&lt;/P&gt;&lt;P&gt;CrossTable(MasterDate, ProfileValue, 6)&lt;/P&gt;&lt;P&gt;LOAD Programme,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Flow,&lt;/P&gt;&lt;P&gt;&amp;nbsp; District,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Centre as TR_Office,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company as TR_Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Description as Profile_Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Rest of the columns here&lt;/P&gt;&lt;P&gt;&amp;nbsp; // If there are too much, then let the wizard write them for you&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;WP_ProfileTest.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 10:58:11 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-08-30T10:58:11Z</dc:date>
    <item>
      <title>Problem loading Excel data from a crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-loading-Excel-data-from-a-crosstable/m-p/309917#M709134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem trying to load data in via a crosstable, so would appreciate some ideas on this one!&amp;nbsp; Using QV10 SR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Via the table wizard, I generate the following script code.&amp;nbsp; This loads and works fine (I've added the header "Profiles" of course to the table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Profiles:&lt;/P&gt;&lt;P&gt;CrossTable(MasterDate, ProfileValue, 6)&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;WP_ProfileTest.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I want to do some other stuff in the script to rename a couple of fields and load in dates in a slightly different way.&amp;nbsp; Here's an example of what I'm trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Profiles:&lt;/P&gt;&lt;P&gt;CrossTable(MasterDate, ProfileValue, 6)&lt;/P&gt;&lt;P&gt;LOAD Programme,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Flow, &lt;/P&gt;&lt;P&gt;&amp;nbsp; District, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Centre as TR_Office,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company as TR_Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Description as Profile_Description&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;WP_ProfileTest.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I do this and reload, Qlikview just appears to hang and sits there forever.&amp;nbsp; If I put "LOAD *," followed by the fields, it does complete but doesn't then load the other fields at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea why it's doing this or what it is doing!&amp;nbsp; Any ideas much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-loading-Excel-data-from-a-crosstable/m-p/309917#M709134</guid>
      <dc:creator />
      <dc:date>2011-08-30T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading Excel data from a crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-loading-Excel-data-from-a-crosstable/m-p/309918#M709135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it comes to crosstable loads, I always do one of both&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do the crosstable load using * and then a second load resident from the previous renaming and changing&lt;/LI&gt;&lt;LI&gt;Use the Transformation Step to change what you need to change and then do the crosstable load&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Anyway, taking a look at your code, you are using the frist 6 columns (those taht are not going to be cross loaded) but you don't add in the LOAD part those columns that correspond to the MasterDate and ProfileValue, so my guessis that your script should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Profiles:&lt;/P&gt;&lt;P&gt;CrossTable(MasterDate, ProfileValue, 6)&lt;/P&gt;&lt;P&gt;LOAD Programme,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Flow,&lt;/P&gt;&lt;P&gt;&amp;nbsp; District,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Centre as TR_Office,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company as TR_Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Description as Profile_Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Rest of the columns here&lt;/P&gt;&lt;P&gt;&amp;nbsp; // If there are too much, then let the wizard write them for you&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;WP_ProfileTest.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-loading-Excel-data-from-a-crosstable/m-p/309918#M709135</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-30T10:58:11Z</dc:date>
    </item>
    <item>
      <title>Problem loading Excel data from a crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-loading-Excel-data-from-a-crosstable/m-p/309919#M709136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still couldn't get the crosstable to load with that code, but the resident option you recommended will work nicely for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Nick &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-loading-Excel-data-from-a-crosstable/m-p/309919#M709136</guid>
      <dc:creator />
      <dc:date>2011-08-30T11:09:42Z</dc:date>
    </item>
  </channel>
</rss>

