<?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: How to use resident in script of qlikview ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509091#M1142266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please Post your sample file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 11:31:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-11T11:31:32Z</dc:date>
    <item>
      <title>How to use resident in script of qlikview ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509089#M1142264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to calculate in script by resident ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg, Qty : Sum(sale_units)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value : Sum(sale_units) * Sum ( Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: sale_units and Value are from different table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509089#M1142264</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2013-09-11T11:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use resident in script of qlikview ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509090#M1142265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a Temporary table and pull the data from both tables in that (using the appropriate join/concatenation).&lt;/P&gt;&lt;P&gt;Then you can do the calculations using Resident of Temporary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;A, B&lt;/P&gt;&lt;P&gt;from temp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test2:&lt;/P&gt;&lt;P&gt;Load A,B1,C&lt;/P&gt;&lt;P&gt;from temp2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The temporary table will be:&lt;/P&gt;&lt;P&gt;Temp :&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;A, B&lt;/P&gt;&lt;P&gt;from temp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate (Temp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load A,B1,C&lt;/P&gt;&lt;P&gt;from temp2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally for calculation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;B*B1,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;Resident Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509090#M1142265</guid>
      <dc:creator />
      <dc:date>2013-09-11T11:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use resident in script of qlikview ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509091#M1142266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please Post your sample file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509091#M1142266</guid>
      <dc:creator />
      <dc:date>2013-09-11T11:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use resident in script of qlikview ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509092#M1142267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resident used for some fields from already loaded table and manually loaded table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your concern where your field exists in table simply write&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sale_units as Qty&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; sale_units * Value as Value&lt;/P&gt;&lt;P&gt;or if you want sum function then it works with group by clause because it is aggrgate function&lt;/P&gt;&lt;P&gt;after loaded table like&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;load A,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C from table;&lt;/P&gt;&lt;P&gt;newtable:&lt;/P&gt;&lt;P&gt;load C,&lt;/P&gt;&lt;P&gt;sum(A) as Qty,&lt;/P&gt;&lt;P&gt;sum(B)*sum(A) as Value&lt;/P&gt;&lt;P&gt;resident table group by C; &lt;/P&gt;&lt;P&gt;hope t helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509092#M1142267</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-09-11T11:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use resident in script of qlikview ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509093#M1142268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is I can understand from your question, you have &lt;/P&gt;&lt;P&gt;Table1 with “Items” and “sale_units” columns and Table2 with “Item” and “Value” columns&lt;/P&gt;&lt;P&gt;In this case you need to join those two tables and get required value&lt;/P&gt;&lt;P&gt;//Join two tables&lt;/P&gt;&lt;P&gt;Left Join(Table1)&lt;/P&gt;&lt;P&gt;Load *Resident Table2;&lt;/P&gt;&lt;P&gt;//Calculate the required Value : Sum(sale_units) * Sum ( Value)&lt;/P&gt;&lt;P&gt;ResultTable:&lt;/P&gt;&lt;P&gt;Load Item, sum(sale_unit)*sum(Value) resident Table1 group by Item;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509093#M1142268</guid>
      <dc:creator />
      <dc:date>2013-09-11T11:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use resident in script of qlikview ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509094#M1142269</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;Did this resolve your isue, if so can you please mark the answers as correct/helpful so it will helpful for others to identify.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 09:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-resident-in-script-of-qlikview/m-p/509094#M1142269</guid>
      <dc:creator />
      <dc:date>2013-09-12T09:20:10Z</dc:date>
    </item>
  </channel>
</rss>

