<?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 from the same table several times - and suddenly ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867509#M656070</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 think I have it now. As I said, when looking at it for the 1.000th time I suddenly noticed that I had written the wrong worksheet_name in the LOAD (i had copied it from an earlier one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Avinash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A RESIDENT LOAD would not have worked in that case - I had filtered out certain records in the first loop, and in the second one I wanted exactly those, so a RESIDENT would obviously not give me what I wanted.&lt;/P&gt;&lt;P&gt;I don't quite understand what you mean about an EXISTS clause, but yes, I guess I could have used that as well. There are many ways leading to Rome ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 May 2015 08:57:35 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-05-28T08:57:35Z</dc:date>
    <item>
      <title>Loading from the same table several times - and suddenly ...</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867507#M656067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following interesting problem:&lt;/P&gt;&lt;P&gt;I load from a set of Excel tables (currently five) in a directory using a FOR EACH loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in one loop I load all five Excel tables in sequence and I have a preceding load with a clause like &amp;gt;&amp;gt; WHERE ISNUM(ID) &amp;lt;&amp;lt;&lt;BR /&gt;&amp;nbsp; =&amp;gt; I want to make sure that I load only those records where there is an ID so that I can associate the records with some data&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that I have loaded earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then comes a second loop over those same five tables that is actually identical BUT for the preceding load&lt;BR /&gt;&amp;nbsp; =&amp;gt; The clause is exactly turned around, it's like &amp;gt;&amp;gt; WHERE NOT(ISNUM(ID)) &amp;lt;&amp;lt;&lt;BR /&gt;&amp;nbsp; =&amp;gt; Here I want to load just those records that have no ID, but something like &amp;gt;&amp;gt; n.z. &amp;lt;&amp;lt; (abbreviation for "not assignable") so I&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cannot associate those costs with anything (books or some other generic-use materials)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; My problem now is, in that second loop, I get an error message stating that some field can't be found. Now I'm just about to rebuild&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the entire LOAD statement to find out why that could be, but I can actually not make head or tail of it because I have just loaded data&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from those same tables and the LOAD statement is exactly the same - and the first one worked fine ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give me a hint where I should look for an error (except just reading the LOAD 1.000 times and hoping that at the 1.000th time I will notice something)?`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 07:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867507#M656067</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-28T07:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from the same table several times - and suddenly ...</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867508#M656068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few Questions/ taught:&lt;/P&gt;&lt;P&gt;*In the Where clause why your not using the Exist function , I feel using that will be more elegant.&lt;/P&gt;&lt;P&gt;*In the second load your using a &lt;STRONG&gt;Resident load from first table or &lt;/STRONG&gt; your loading the file again?? if its not&amp;nbsp; Resident load then we might need to check on structure of data.&lt;/P&gt;&lt;P&gt;*If you share the script that do give us a better understanding , to check what's happening &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 08:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867508#M656068</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-05-28T08:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from the same table several times - and suddenly ...</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867509#M656070</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 think I have it now. As I said, when looking at it for the 1.000th time I suddenly noticed that I had written the wrong worksheet_name in the LOAD (i had copied it from an earlier one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Avinash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A RESIDENT LOAD would not have worked in that case - I had filtered out certain records in the first loop, and in the second one I wanted exactly those, so a RESIDENT would obviously not give me what I wanted.&lt;/P&gt;&lt;P&gt;I don't quite understand what you mean about an EXISTS clause, but yes, I guess I could have used that as well. There are many ways leading to Rome ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 08:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867509#M656070</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-28T08:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from the same table several times - and suddenly ...</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867510#M656071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Woo Cool !!!! small mistake &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-the-same-table-several-times-and-suddenly/m-p/867510#M656071</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-05-28T09:40:19Z</dc:date>
    </item>
  </channel>
</rss>

