<?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 Conditioning Script-loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234285#M85731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;leonor.ferrebuz wrote:&lt;BR /&gt;I have the same name field (CO_PRODUCT) in other tables, it's a key one, so.. how do I delimitated the EXISTS clause to &lt;B&gt;&lt;I&gt;only&lt;/I&gt;&lt;/B&gt; the master table (in this case, the PRODUCT table)? ? ?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the PRODUCT table first. On every subsequent load, specify WHERE EXISTS(CO_PRODUCT). You will never load another value of CO_PRODUCT that didn't exist in PRODUCTS.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2010 21:02:00 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2010-02-11T21:02:00Z</dc:date>
    <item>
      <title>Conditioning Script-loading</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234281#M85727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone!&lt;/P&gt;&lt;P&gt;What I need is to condition the load of a table if one of its fields exists in another preloaded table.&lt;/P&gt;&lt;P&gt;Eg: I've a PRODUCT table and another one with STOCKS. So, I want to load just the rows of STOCK where the PRODUCT exists in the main table (product). SOmething like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;/******************* PRODUCTO ********************//&lt;BR /&gt;PRODUCT:&lt;BR /&gt;Load CO_PRODUCT,&lt;BR /&gt; NA_PRODUCT,&lt;BR /&gt;FROM QvD\PRODUCT.QVD (qvd);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//******************* VSTOCK ART ********************//&lt;BR /&gt;VSTOCK_ART:&lt;BR /&gt;Load co_enterprise,&lt;BR /&gt; co_art,&lt;BR /&gt; co_art AS CO_PRODUCT,&lt;BR /&gt;FROM QvD\VSTOCK_ART.QVD (qvd)&lt;BR /&gt;&lt;I&gt;&lt;B&gt;WHERE co_art EXISTS PRODUCT; ??????????????????????????????????????????????&lt;/B&gt;&lt;/I&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I bet it's a pretty easy thing to do... riight? [:^)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 15:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234281#M85727</guid>
      <dc:creator />
      <dc:date>2010-02-09T15:32:24Z</dc:date>
    </item>
    <item>
      <title>Conditioning Script-loading</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234282#M85728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;WHERE EXISTS(CO_PRODUCT,co_art)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Take care,&lt;/P&gt;&lt;P&gt;Justinas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 15:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234282#M85728</guid>
      <dc:creator>justinasp</dc:creator>
      <dc:date>2010-02-09T15:43:26Z</dc:date>
    </item>
    <item>
      <title>Conditioning Script-loading</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234283#M85729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Justinas! thxs for your answer..&lt;/P&gt;&lt;P&gt;I've implemented and i've an inquire about it.&lt;/P&gt;&lt;P&gt;I have the same name field (CO_PRODUCT) in other tables, it's a key one, so.. how do I delimitated the EXISTS clause to &lt;B&gt;&lt;I&gt;only&lt;/I&gt;&lt;/B&gt; the master table (in this case, the PRODUCT table)? ? ?&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 19:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234283#M85729</guid>
      <dc:creator />
      <dc:date>2010-02-11T19:27:25Z</dc:date>
    </item>
    <item>
      <title>Conditioning Script-loading</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234284#M85730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A couple ideas. I'm sure there are a lot of other ways.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Load your master product table first, then do your where exists load before loading any other tables with product.&lt;/LI&gt;&lt;LI&gt;Load a MASTER_CO_PRODUCT in your master product table, and use that in the where exists load, then drop the field.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 20:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234284#M85730</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-11T20:39:04Z</dc:date>
    </item>
    <item>
      <title>Conditioning Script-loading</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234285#M85731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;leonor.ferrebuz wrote:&lt;BR /&gt;I have the same name field (CO_PRODUCT) in other tables, it's a key one, so.. how do I delimitated the EXISTS clause to &lt;B&gt;&lt;I&gt;only&lt;/I&gt;&lt;/B&gt; the master table (in this case, the PRODUCT table)? ? ?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the PRODUCT table first. On every subsequent load, specify WHERE EXISTS(CO_PRODUCT). You will never load another value of CO_PRODUCT that didn't exist in PRODUCTS.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 21:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234285#M85731</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-02-11T21:02:00Z</dc:date>
    </item>
    <item>
      <title>Conditioning Script-loading</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234286#M85732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ook! thxs...&lt;/P&gt;&lt;P&gt;At the end what I did was:&lt;/P&gt;&lt;P&gt;WHERE EXISTS (CO_PRODUCT,co_art); Because in this table the cod of the product doesnt have the same name than the one in the main table (co_art). I'm still verifying that the filter is working as it should.&lt;/P&gt;&lt;P&gt;To be "sure" of wich CO_PRODUCT it's taking, I created an auxiliar field, and because of the table is qualify I do:&lt;/P&gt;&lt;P&gt;WHERE EXISTS (PRODUCT.CO_PROD_AUX,co_art);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs for your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 22:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-Script-loading/m-p/234286#M85732</guid>
      <dc:creator />
      <dc:date>2010-02-11T22:07:55Z</dc:date>
    </item>
  </channel>
</rss>

