<?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: Left keep function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695671#M676972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi christianj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; So if I want to join my last table "divbez" with the other two, can I write two Left keep orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT KEEP (Job)&lt;/P&gt;&lt;P&gt;LEFT KEEP (jleistg)&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;SQL SELECT ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2014 14:27:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-17T14:27:32Z</dc:date>
    <item>
      <title>Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695669#M676970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a "Left keep" function to link the two tables in a way that when datum_auftrag &amp;lt;&amp;gt; null, values are shown. if datum_auftrag = null,&amp;nbsp; all other values are excluded. Not only in table "job" but also the fields that are linked from table "jleistg".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT "job_nummer",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jobnr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "datum_auftrag",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year ("datum_auftrag") as Jahr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month ("datum_auftrag") as Monat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jobkategorie&lt;/P&gt;&lt;P&gt;FROM EASY.job where "datum_auftrag" is not null;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT KEEP (job) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *, [auf_kurs] * [auf_wert] / 100 as [Auftragswert];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT "auf_datum",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "auf_fw",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "auf_kurs",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "auf_wert",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bez as Leistungstext,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jobnr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "auf_anzahl",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ltyp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storniert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; optional,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lartnr&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM EASY.jleistg where storniert = 0 and optional = 0 and ltyp &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to use another table with a selection criteria to exclude all linked vaues in the two tables above: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT bez as Jobkriterium,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; beznr as Jobkritnr&lt;/P&gt;&lt;P&gt;FROM EASY.divbez where Jobkriterium &amp;lt;&amp;gt; 'Internes Projekt';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I have to set the "Left keep" keep in this case? I do not seem to get it right... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695669#M676970</guid>
      <dc:creator />
      <dc:date>2014-06-17T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695670#M676971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT KEEP will keep table but operate similar as a join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't precise any table it will be based on the previous table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want you can precise a table wich was loaded many instruction before with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT KEEP (TableName to consider)&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;SQL SELECT ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695670#M676971</guid>
      <dc:creator />
      <dc:date>2014-06-17T14:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695671#M676972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi christianj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; So if I want to join my last table "divbez" with the other two, can I write two Left keep orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT KEEP (Job)&lt;/P&gt;&lt;P&gt;LEFT KEEP (jleistg)&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;SQL SELECT ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695671#M676972</guid>
      <dc:creator />
      <dc:date>2014-06-17T14:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695672#M676973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In other words how do I script multiple LEPT KEEP orders to one table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695672#M676973</guid>
      <dc:creator />
      <dc:date>2014-06-17T14:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695673#M676974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would do them done at a time, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LEFT KEEP (Job)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ....&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT ....&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LEFT KEEP (jleistg)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ....&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695673#M676974</guid>
      <dc:creator />
      <dc:date>2014-06-17T14:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Left keep function</title>
      <link>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695674#M676975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as far as i know the LEFT KEEP will operate only on 1 table, so you'll have to do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T3:&lt;/P&gt;&lt;P&gt;LEFT KEEP (job)&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T4:&lt;/P&gt;&lt;P&gt;LEFT KEEP (jleistg)&lt;/P&gt;&lt;P&gt;LOAD ... resident T3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 14:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-keep-function/m-p/695674#M676975</guid>
      <dc:creator />
      <dc:date>2014-06-17T14:47:20Z</dc:date>
    </item>
  </channel>
</rss>

