<?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: conditional load with filed from other table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/conditional-load-with-filed-from-other-table/m-p/775009#M663070</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;so you load a mastertable &amp;gt; customers &amp;lt; first?&lt;/P&gt;&lt;P&gt;You could do a restricted RESIDENT LOAD of that, restricting to the areas that you want (if you don't want all of them) and then use a WHERE EXISTS clause in the following LOAD of the &amp;gt; sales &amp;lt; table?&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 14:26:20 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-03-10T14:26:20Z</dc:date>
    <item>
      <title>conditional load with filed from other table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-load-with-filed-from-other-table/m-p/775008#M663069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;BR /&gt;is it possible to use a field from another (allready loaded) table in a load condition of another table ?&lt;BR /&gt;its possible in sql, but how could it be done in qlikview script ?&lt;/P&gt;&lt;P&gt;the table "customers" is loaded first.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"customers" (customer_id, customer_area, subarea_code, customer_name)&lt;/P&gt;&lt;P&gt;customer_area= city&lt;BR /&gt;subarea_code= district/zipcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f.e. i want to load purchase histories from one table &lt;BR /&gt;"sales" (order_id, order_date, order_amount, item_ID, customer_id)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BUT only for customers who live in a certain area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course this could be done in the document with listboxes etc. But the huge amount of data from orders should be limited during load.&lt;/P&gt;&lt;P&gt;i could&amp;nbsp; be usefull for other loads too, especiall with large amounts of data and distributed dependencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 14:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-load-with-filed-from-other-table/m-p/775008#M663069</guid>
      <dc:creator />
      <dc:date>2015-03-10T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: conditional load with filed from other table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-load-with-filed-from-other-table/m-p/775009#M663070</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;so you load a mastertable &amp;gt; customers &amp;lt; first?&lt;/P&gt;&lt;P&gt;You could do a restricted RESIDENT LOAD of that, restricting to the areas that you want (if you don't want all of them) and then use a WHERE EXISTS clause in the following LOAD of the &amp;gt; sales &amp;lt; table?&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 14:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-load-with-filed-from-other-table/m-p/775009#M663070</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-10T14:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: conditional load with filed from other table</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-load-with-filed-from-other-table/m-p/775010#M663071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, &amp;gt;customers&amp;lt; is loaded before &amp;gt;sales&amp;lt; . i edited the question to make that more clear.&lt;BR /&gt;your proposal worked well, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the load of the &amp;gt;customers&amp;lt; list will be restricted by area, containing only users that match the area.&lt;/P&gt;&lt;P&gt;other users needed to be loaded later on, f.e. with outer join load.the &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i only used where not exists before for incremental loads &lt;BR /&gt;where NOT exists (change_date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE EXISTS (subarea_code) worked fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 14:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-load-with-filed-from-other-table/m-p/775010#M663071</guid>
      <dc:creator />
      <dc:date>2015-03-12T14:10:12Z</dc:date>
    </item>
  </channel>
</rss>

