<?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 Flitering in RESIDENT tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237791#M88785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Since the Fieldds names are common in both the tables i.e CUSTOMER_ALL and CUSTOMER_LATEST they might be concatenated, So after the resident table Drop the base table CUSTOMER_ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e&lt;/P&gt;&lt;P&gt;CUSTOMER_ALL:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SELECT Name, Product, Rank () (xxxx) as Rnk&lt;BR /&gt;FROM PROCUSTCUST;&lt;BR /&gt;&lt;BR /&gt;CUSTOMER_LATEST:&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT CUSTOMER_ALL&lt;BR /&gt;WHERE Rnk = 1 ;&lt;BR /&gt;DROP TABLE CUSTOMER_ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this i hope it will works&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 May 2010 12:51:22 GMT</pubDate>
    <dc:creator>spsrk_84</dc:creator>
    <dc:date>2010-05-11T12:51:22Z</dc:date>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237790#M88784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Newbie query on loading data and then filtering.&lt;/P&gt;&lt;P&gt;I am trying to get the latest customer details using the Rank function.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;CUSTOMER_ALL:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SELECT Name, Product, Rank () (xxxx) as Rnk&lt;BR /&gt;FROM PROCUSTCUST;&lt;BR /&gt;&lt;BR /&gt;CUSTOMER_LATEST:&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT CUSTOMER_ALL&lt;BR /&gt;WHERE Rnk = 1 ;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My problem is that when I select fields I cannot see the table CUSTOMER_LATEST. The CUSTOMER_ALL is always visible. &lt;BR /&gt;Please can someone inform where I have gone wrong. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 12:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237790#M88784</guid>
      <dc:creator />
      <dc:date>2010-05-11T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237791#M88785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Since the Fieldds names are common in both the tables i.e CUSTOMER_ALL and CUSTOMER_LATEST they might be concatenated, So after the resident table Drop the base table CUSTOMER_ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e&lt;/P&gt;&lt;P&gt;CUSTOMER_ALL:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SELECT Name, Product, Rank () (xxxx) as Rnk&lt;BR /&gt;FROM PROCUSTCUST;&lt;BR /&gt;&lt;BR /&gt;CUSTOMER_LATEST:&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT CUSTOMER_ALL&lt;BR /&gt;WHERE Rnk = 1 ;&lt;BR /&gt;DROP TABLE CUSTOMER_ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this i hope it will works&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 12:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237791#M88785</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2010-05-11T12:51:22Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237792#M88786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The QlikView concatenate the tables with same name and number fields.&lt;/P&gt;&lt;P&gt;For don't concatenate, you have use NOCONCATENATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;CUSTOMER_ALL:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SELECT Name, Product, Rank () (xxxx) as Rnk&lt;BR /&gt;FROM PROCUSTCUST;&lt;BR /&gt;&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;CUSTOMER_LATEST:&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT CUSTOMER_ALL&lt;BR /&gt;WHERE Rnk = 1 ;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tonial&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 12:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237792#M88786</guid>
      <dc:creator />
      <dc:date>2010-05-11T12:52:06Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237793#M88787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry to barge in on this one, Ajay is correct, but if you do want to have the CUSTOMER_ALL table available then you should rename the fields on the CUSTOMER_LATEST load for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;CUSTOMER_LATEST:&lt;BR /&gt;LOAD Name as LATEST_Name, Product AS LATEST_Product, Rnk AS LATEST_Rnk&lt;BR /&gt;RESIDENT CUSTOMER_ALL&lt;BR /&gt;WHERE Rnk=1;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 12:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237793#M88787</guid>
      <dc:creator />
      <dc:date>2010-05-11T12:54:01Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237794#M88788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What exactly is&lt;/P&gt;&lt;P&gt;, Rank () (xxxx) as Rnk&lt;/P&gt;&lt;P&gt;doing? Had expected it would break the load statement.&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 13:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237794#M88788</guid>
      <dc:creator />
      <dc:date>2010-05-11T13:01:52Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237795#M88789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;Thanks for your prompt response.&lt;/P&gt;&lt;P&gt;I am using trail version of QlikView 9.&lt;/P&gt;&lt;P&gt;Ajay, My problem is that the output is not loaded into CUSTOMER_LATEST. The DROP statement drops CUSTOMER_ALL and I have no fields. Is this issue specific to trial version.&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;Tonial, the NOCONCATENATE CUSTOMER_LATEST: suggested helps but the data is not filtered. I get records where Rnk &amp;lt;&amp;gt; 1.&lt;BR /&gt;&lt;BR /&gt;Juerg, Please cna you elaborate on "the NOCONCATENATE needs to be past the label to work"&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 14:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237795#M88789</guid>
      <dc:creator />
      <dc:date>2010-05-11T14:01:18Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237796#M88790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Expected the same to happen with Ajay's suggestion.&lt;/P&gt;&lt;P&gt;In Fernando's suggestion I think the NOCONCATENATE needs to be past the label to work (not before as in his code section shown).&lt;/P&gt;&lt;P&gt;You will be on the safe side with Nigel's approach but the correct Fernando solution should work too.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 14:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237796#M88790</guid>
      <dc:creator />
      <dc:date>2010-05-11T14:12:25Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237797#M88791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;CUSTOMER_ALL:&lt;BR /&gt;LOAD *;&lt;BR /&gt;SELECT Name, Product, Rank () (xxxx) as Rnk&lt;BR /&gt;FROM PROCUSTCUST;&lt;BR /&gt;&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;CUSTOMER_LATEST:&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT CUSTOMER_ALL&lt;BR /&gt;WHERE Rnk = 1 ;&lt;BR /&gt;DROP TABLE CUSTOMER_ALL;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This solution results only one table, the CUSTOMER_LATEST.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 14:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237797#M88791</guid>
      <dc:creator />
      <dc:date>2010-05-11T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Flitering in RESIDENT tables</title>
      <link>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237798#M88792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;I renamed the column Rnk to Rank123 in CUSTOMER_LATEST and it has the desired affect. So&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;LOAD Name, Product, Rnk as Rank123 RESIDENT CUSTOMER_ALL works.&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 15:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flitering-in-RESIDENT-tables/m-p/237798#M88792</guid>
      <dc:creator />
      <dc:date>2010-05-11T15:07:17Z</dc:date>
    </item>
  </channel>
</rss>

