<?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: Function Resident in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245598#M93626</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;See the attached sample file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourData:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ColA,WP&lt;/P&gt;&lt;P&gt;A,14&lt;/P&gt;&lt;P&gt;B,12&lt;/P&gt;&lt;P&gt;B,10&lt;/P&gt;&lt;P&gt;C,14&lt;/P&gt;&lt;P&gt;C,17&lt;/P&gt;&lt;P&gt;D,16&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Residenttable: &lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ColA as NewField1,&lt;/P&gt;&lt;P&gt;WP as NewField2&lt;/P&gt;&lt;P&gt;Resident YourData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2011 08:23:10 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-09-08T08:23:10Z</dc:date>
    <item>
      <title>Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245594#M93622</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;/P&gt;&lt;P&gt;I'm a Qlikview end-user and I have a question regarding the resident function.&lt;/P&gt;&lt;P&gt;I can't use it but I think the program is good.&lt;/P&gt;&lt;P&gt;I need to load this data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;WP&lt;/P&gt;&lt;P&gt;Resident YourTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245594#M93622</guid>
      <dc:creator />
      <dc:date>2011-09-08T08:06:36Z</dc:date>
    </item>
    <item>
      <title>Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245595#M93623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;resident&lt;/SPAN&gt; is used if data should be loaded from a previously loaded input table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident table is virtually used the previously loaded table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is something like virtual class available in some object oriented programming language.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245595#M93623</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-09-08T08:11:14Z</dc:date>
    </item>
    <item>
      <title>Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245596#M93624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know but how I can use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;WP&lt;/P&gt;&lt;P&gt;Resident YourTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WP is an important data for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must load data which exists already in a previously loaded input table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245596#M93624</guid>
      <dc:creator />
      <dc:date>2011-09-08T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245597#M93625</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;Yes, Resident is used on previously loaded tables to load data from previously loaded table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like in your example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;WP,&lt;/P&gt;&lt;P&gt;Col,,,&lt;/P&gt;&lt;P&gt;From Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;WP&lt;/P&gt;&lt;P&gt;Resident YourTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some thing like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245597#M93625</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-08T08:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245598#M93626</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;See the attached sample file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourData:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ColA,WP&lt;/P&gt;&lt;P&gt;A,14&lt;/P&gt;&lt;P&gt;B,12&lt;/P&gt;&lt;P&gt;B,10&lt;/P&gt;&lt;P&gt;C,14&lt;/P&gt;&lt;P&gt;C,17&lt;/P&gt;&lt;P&gt;D,16&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Residenttable: &lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ColA as NewField1,&lt;/P&gt;&lt;P&gt;WP as NewField2&lt;/P&gt;&lt;P&gt;Resident YourData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245598#M93626</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-08T08:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245599#M93627</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;RESIDENT always refers to a previously loaded table, so in your script above, "YourTable" must exist prior to the table you are loading. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;STRONG&gt;Customers&lt;/STRONG&gt;: // This table already exists, you keep it as it is&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RepNo&lt;/P&gt;&lt;P&gt;FROM File.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LocalCustomers: // This is the new table you are creating&lt;/P&gt;&lt;P&gt;LOAD ID AS LocalID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name AS LocalName&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESIDENT Customers &lt;/STRONG&gt;// load from the table above&lt;/P&gt;&lt;P&gt;WHERE Country = 'ES'; // only local customers&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245599#M93627</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-09-08T08:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245600#M93628</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;/P&gt;&lt;P&gt;Yes correct like if you want to load data of ColA='B'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourData:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ColA,WP&lt;/P&gt;&lt;P&gt;A,14&lt;/P&gt;&lt;P&gt;B,12&lt;/P&gt;&lt;P&gt;B,10&lt;/P&gt;&lt;P&gt;C,14&lt;/P&gt;&lt;P&gt;C,17&lt;/P&gt;&lt;P&gt;D,16&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Residenttable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ColA as NewField1,&lt;/P&gt;&lt;P&gt;WP as NewField2&lt;/P&gt;&lt;P&gt;Resident YourData&lt;/P&gt;&lt;P&gt;Where ColA='B';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245600#M93628</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-08T08:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Function Resident</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245601#M93629</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;Note that according to your script you are loading only one field, that is not being renamed. That means that you are likely not to see that field, because it already exists in a different table. Do as I mentioned below, rename the field, and add some dummy field so you can check the new table you have created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 09:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Resident/m-p/245601#M93629</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-09-08T09:12:10Z</dc:date>
    </item>
  </channel>
</rss>

