<?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: Where All Previous Records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397603#M611928</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;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;STATE_AACL_TO_MATCH&amp;nbsp; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Previous(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;ORDER BY&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 15:47:48 GMT</pubDate>
    <dc:creator>el_aprendiz111</dc:creator>
    <dc:date>2017-11-29T15:47:48Z</dc:date>
    <item>
      <title>Where All Previous Records</title>
      <link>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397602#M611927</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 have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running a script, I get the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Similarity.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185106_Similarity.PNG" style="height: 292px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do, is a WHERE restriction in the script, that won't upload the &lt;SPAN style="font-size: 13.3333px;"&gt;BLUE &lt;/SPAN&gt;highlighted column, since the record of the field STATE_AACL_TO_MATCH it has already been uploaded ('WIELKOPOLSKIE'). So I was thinking on something like:&lt;/P&gt;&lt;P&gt;WHERE &lt;SPAN style="font-size: 13.3333px;"&gt;STATE_AACL_TO_MATCH&amp;nbsp; &amp;lt;&amp;gt; &lt;/SPAN&gt;Previous(&lt;SPAN style="font-size: 13.3333px;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;), but that Previous has to consider all the previous values.&lt;/P&gt;&lt;P&gt;Does it exist something like this?&lt;/P&gt;&lt;P&gt;I tested something with Where Not Exists (&lt;SPAN style="font-size: 13.3333px;"&gt;STATE_AACL_TO_MATCH,&lt;SPAN style="font-size: 13.3333px;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;&lt;/SPAN&gt;) but it didn't work as well...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much and best regards to all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397602#M611927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T15:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Where All Previous Records</title>
      <link>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397603#M611928</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;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;STATE_AACL_TO_MATCH&amp;nbsp; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Previous(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;ORDER BY&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397603#M611928</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-11-29T15:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Where All Previous Records</title>
      <link>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397604#M611929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Where Not Exists (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;STATE_AACL_TO_MATCH)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397604#M611929</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-29T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Where All Previous Records</title>
      <link>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397605#M611930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seems good. The only thing missing (that I forgot to clarify) is that the STATE_AACL_TO_MATCH that I want to preserve is the one with highest Similarity value.&lt;/P&gt;&lt;P&gt;So in that case I could do like...&lt;/P&gt;&lt;P&gt;WHERE STATE_AACL_TO_MATCH&amp;nbsp; &amp;lt;&amp;gt; Previous(STATE_AACL_TO_MATCH)&lt;/P&gt;&lt;P&gt;ORDER BY Similarity DESC, STATE_AACL_TO_MATCH;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like that I guess.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 09:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397605#M611930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-01T09:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Where All Previous Records</title>
      <link>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397606#M611931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it would be:&lt;/P&gt;&lt;P&gt;ORDER BY STATE_AACL_TO_MATCH, Similarity DESC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 09:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397606#M611931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-01T09:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Where All Previous Records</title>
      <link>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397607#M611932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESULT:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FirstValue(STATE_OAG) as FIRST_OAG,&lt;/P&gt;&lt;P&gt;FirstValue(SIMILARITY) as FIRST_SIMILARITY&lt;/P&gt;&lt;P&gt;Group By &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STATE_AACL_TO_MATCH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From DATA&lt;/P&gt;&lt;P&gt;(Or Resident TABLE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 21:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-All-Previous-Records/m-p/1397607#M611932</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2017-12-01T21:26:03Z</dc:date>
    </item>
  </channel>
</rss>

