<?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 How to get latest data only from resident table. Where Not Exists() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796564#M281368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have been trying to work out how to extract only the Latest data from a resident table.&lt;/P&gt;&lt;P&gt;From what I have read the below example should work using Where Not Exists(), but doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14165706080704411" jivemacro_uid="_14165706080704411"&gt;
&lt;P&gt;//#####################&lt;/P&gt;
&lt;P&gt;//##Load All App Data##&lt;/P&gt;
&lt;P&gt;//#####################&lt;/P&gt;
&lt;P&gt;Qualify*;&lt;/P&gt;
&lt;P&gt;AllAppHistory:&lt;/P&gt;
&lt;P&gt;LOAD * Inline &lt;/P&gt;
&lt;P&gt;[AssetName, AppName, Date&lt;/P&gt;
&lt;P&gt;0,Outlook,30/09/2014 &lt;/P&gt;
&lt;P&gt;1,Outlook,28/10/2014 &lt;/P&gt;
&lt;P&gt;2,Outlook,29/10/2014&lt;/P&gt;
&lt;P&gt;0,Outlook,26/10/2014];&lt;/P&gt;
&lt;P&gt;UNQUALIFY *;&lt;/P&gt;
&lt;P&gt;//######################################&lt;/P&gt;
&lt;P&gt;//#Create Exists Key from All App Data.#&lt;/P&gt;
&lt;P&gt;//######################################&lt;/P&gt;
&lt;P&gt;AllAppHistory_Tmp:&lt;/P&gt;
&lt;P&gt;Left Join (AllAppHistory)&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt; AllAppHistory.AssetName &amp;amp; AllAppHistory.AppName as AllAppHistory.ExistsKey&lt;/P&gt;
&lt;P&gt;Resident AllAppHistory;&lt;/P&gt;
&lt;P&gt;//#########################################&lt;/P&gt;
&lt;P&gt;//#Create table with only Latest App Data.#&lt;/P&gt;
&lt;P&gt;//#########################################&lt;/P&gt;
&lt;P&gt;QUALIFY *;&lt;/P&gt;
&lt;P&gt;LatestApps:&lt;/P&gt;
&lt;P&gt;LOAD AllAppHistory.AssetName,&lt;/P&gt;
&lt;P&gt; AllAppHistory.AppName,&lt;/P&gt;
&lt;P&gt; AllAppHistory.Date,&lt;/P&gt;
&lt;P&gt; AllAppHistory.ExistsKey as ExistsKeyTested&lt;/P&gt;
&lt;P&gt;Resident AllAppHistory&lt;/P&gt;
&lt;P&gt;Where not Exists(LatestApps.ExistsKeyTested, AllAppHistory.ExistsKey)&lt;/P&gt;
&lt;P&gt;Order By AllAppHistory.Date desc&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting this to output the following table.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="791"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="213"&gt;LatestApps.AllAppHistory.AppName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="223"&gt;LatestApps.AllAppHistory.AssetName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="185"&gt;LatestApps.AllAppHistory.Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="170"&gt;LatestApps.ExistsKeyTested&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;30/09/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;28/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;29/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I got the following table with an extra row that I have highlighted in red.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 791px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="213"&gt;LatestApps.AllAppHistory.AppName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="223"&gt;LatestApps.AllAppHistory.AssetName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="185"&gt;LatestApps.AllAppHistory.Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="170"&gt;LatestApps.ExistsKeyTested&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;30/09/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Outlook&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;0&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;26/10/2014&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;0Outlook&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;28/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;29/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to work out why this is happening, has anyone got any idea?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2014 11:59:18 GMT</pubDate>
    <dc:creator>pgriffiths</dc:creator>
    <dc:date>2014-11-21T11:59:18Z</dc:date>
    <item>
      <title>How to get latest data only from resident table. Where Not Exists()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796564#M281368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have been trying to work out how to extract only the Latest data from a resident table.&lt;/P&gt;&lt;P&gt;From what I have read the below example should work using Where Not Exists(), but doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14165706080704411" jivemacro_uid="_14165706080704411"&gt;
&lt;P&gt;//#####################&lt;/P&gt;
&lt;P&gt;//##Load All App Data##&lt;/P&gt;
&lt;P&gt;//#####################&lt;/P&gt;
&lt;P&gt;Qualify*;&lt;/P&gt;
&lt;P&gt;AllAppHistory:&lt;/P&gt;
&lt;P&gt;LOAD * Inline &lt;/P&gt;
&lt;P&gt;[AssetName, AppName, Date&lt;/P&gt;
&lt;P&gt;0,Outlook,30/09/2014 &lt;/P&gt;
&lt;P&gt;1,Outlook,28/10/2014 &lt;/P&gt;
&lt;P&gt;2,Outlook,29/10/2014&lt;/P&gt;
&lt;P&gt;0,Outlook,26/10/2014];&lt;/P&gt;
&lt;P&gt;UNQUALIFY *;&lt;/P&gt;
&lt;P&gt;//######################################&lt;/P&gt;
&lt;P&gt;//#Create Exists Key from All App Data.#&lt;/P&gt;
&lt;P&gt;//######################################&lt;/P&gt;
&lt;P&gt;AllAppHistory_Tmp:&lt;/P&gt;
&lt;P&gt;Left Join (AllAppHistory)&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt; AllAppHistory.AssetName &amp;amp; AllAppHistory.AppName as AllAppHistory.ExistsKey&lt;/P&gt;
&lt;P&gt;Resident AllAppHistory;&lt;/P&gt;
&lt;P&gt;//#########################################&lt;/P&gt;
&lt;P&gt;//#Create table with only Latest App Data.#&lt;/P&gt;
&lt;P&gt;//#########################################&lt;/P&gt;
&lt;P&gt;QUALIFY *;&lt;/P&gt;
&lt;P&gt;LatestApps:&lt;/P&gt;
&lt;P&gt;LOAD AllAppHistory.AssetName,&lt;/P&gt;
&lt;P&gt; AllAppHistory.AppName,&lt;/P&gt;
&lt;P&gt; AllAppHistory.Date,&lt;/P&gt;
&lt;P&gt; AllAppHistory.ExistsKey as ExistsKeyTested&lt;/P&gt;
&lt;P&gt;Resident AllAppHistory&lt;/P&gt;
&lt;P&gt;Where not Exists(LatestApps.ExistsKeyTested, AllAppHistory.ExistsKey)&lt;/P&gt;
&lt;P&gt;Order By AllAppHistory.Date desc&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting this to output the following table.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="791"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="213"&gt;LatestApps.AllAppHistory.AppName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="223"&gt;LatestApps.AllAppHistory.AssetName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="185"&gt;LatestApps.AllAppHistory.Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="170"&gt;LatestApps.ExistsKeyTested&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;30/09/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;28/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;29/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I got the following table with an extra row that I have highlighted in red.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 791px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="213"&gt;LatestApps.AllAppHistory.AppName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="223"&gt;LatestApps.AllAppHistory.AssetName&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="185"&gt;LatestApps.AllAppHistory.Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="170"&gt;LatestApps.ExistsKeyTested&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;30/09/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Outlook&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;0&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;26/10/2014&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;&lt;STRONG style="color: #ff0000;"&gt;0Outlook&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;28/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Outlook&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;29/10/2014&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2Outlook&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to work out why this is happening, has anyone got any idea?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 11:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796564#M281368</guid>
      <dc:creator>pgriffiths</dc:creator>
      <dc:date>2014-11-21T11:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest data only from resident table. Where Not Exists()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796565#M281369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Exists() works for me when I set the "field to search" between simple quotes:&lt;/P&gt;&lt;P&gt;Where not Exists('LatestApps.ExistsKeyTested', AllAppHistory.ExistsKey)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 12:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796565#M281369</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-11-21T12:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest data only from resident table. Where Not Exists()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796566#M281370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;BR /&gt;thanks you for you reply.&lt;/P&gt;&lt;P&gt;I gave this a go, even tried a copy and paste from your example to make sure it was the same, but it does not exclude the row highlighted in red above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 12:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796566#M281370</guid>
      <dc:creator>pgriffiths</dc:creator>
      <dc:date>2014-11-21T12:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest data only from resident table. Where Not Exists()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796567#M281371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AllAppHistory:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load *,AssetName &amp;amp; AppName As Key Where Not Exists('Key',AssetName &amp;amp; AppName);&lt;/P&gt;&lt;P&gt;LOAD * Inline&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;[AssetName, AppName, Date&amp;nbsp; &lt;/P&gt;&lt;P&gt;0,Outlook,30/09/2014&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;1,Outlook,28/10/2014&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2,Outlook,29/10/2014&amp;nbsp; &lt;/P&gt;&lt;P&gt;0,Outlook,26/10/2014] ;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 12:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796567#M281371</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-21T12:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest data only from resident table. Where Not Exists()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796568#M281372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made ExistsKeyTested unqualified and it works using field name on exists()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//#########################################&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUALIFY *;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNQUALIFY ExistsKeyTested;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LatestApps:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD AllAppHistory.AssetName,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllAppHistory.AppName,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllAppHistory.Date,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllAppHistory.ExistsKey as ExistsKeyTested&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident AllAppHistory&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where not Exists(ExistsKeyTested, AllAppHistory.ExistsKey)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Order By AllAppHistory.Date desc&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 12:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796568#M281372</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-11-21T12:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest data only from resident table. Where Not Exists()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796569#M281373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;Your solution was more compact, however did not allow for the order to be sorted so only takes the first record but unsorted.&lt;/P&gt;&lt;P&gt;Many thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 14:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796569#M281373</guid>
      <dc:creator>pgriffiths</dc:creator>
      <dc:date>2014-11-21T14:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest data only from resident table. Where Not Exists()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796570#M281374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ruben,&lt;/P&gt;&lt;P&gt;That has works and orders desc.&lt;/P&gt;&lt;P&gt;This is exactly what I needed.&lt;/P&gt;&lt;P&gt;Thank you so much. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 14:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-data-only-from-resident-table-Where-Not-Exists/m-p/796570#M281374</guid>
      <dc:creator>pgriffiths</dc:creator>
      <dc:date>2014-11-21T14:48:01Z</dc:date>
    </item>
  </channel>
</rss>

