<?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: Use of Resident Load ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422571#M807957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Few examples here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/200410"&gt;Resident load?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 14:16:26 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-10-24T14:16:26Z</dc:date>
    <item>
      <title>Use of Resident Load ?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422570#M807956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am having a data like ,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Product:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ProductID,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Product name],&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Modified date],&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Product country],&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Export,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales*ProductID as Ex&amp;nbsp; // made own transformation&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Incremental.qvd&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I know resident load can load data from previous existing data,make transformations and calculations etc.. but when is the situation to use it bcz i know i can directly make calculations in the loaded data itself ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422570#M807956</guid>
      <dc:creator>pradeep92</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Resident Load ?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422571#M807957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Few examples here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/200410"&gt;Resident load?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422571#M807957</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-10-24T14:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Resident Load ?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422572#M807958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Preceding load if you are joining same tables.&lt;/P&gt;&lt;P&gt;If you joining different tables you can use Resident load.&lt;/P&gt;&lt;P&gt;Resident load is performance heavy. This would read your table twice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422572#M807958</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-10-24T14:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Resident Load ?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422573#M807959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at this scenario....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Dim,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales * Quantity as TotalRevenue,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales*Quantity - Cost as Margin,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Sales*Quantity - Cost)/(Sales*Quantity) as Margin%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, technically the above can be performed in the same load or can be done in Preceding or Resident Load. Note that the calculations are easy enough to performed in a single load, but that is not always the case.. At times the calculations are so complex that it might always make sense to break it down into preceding loads to make your life easy and make the code readable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Margin / TotalRevenue as Margin%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TotalRevenue - Cost as Margin;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Dim,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Sales * Quantity as TotalRevenue&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;FROM ....&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422573#M807959</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-24T14:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Resident Load ?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422574#M807960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great ! So to make the calculations and code in the readable format , we make use of Preceding and resident load. I do know preceding load is faster compared to Resident but what is the exact situation to make use of both the loads?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422574#M807960</guid>
      <dc:creator>pradeep92</dc:creator>
      <dc:date>2017-10-24T14:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Resident Load ?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422575#M807961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above is not the only reason to use Preceding or Resident loads. And also, they are not always the same in all the cases... One specific case where preceding load won't work, but resident load will is when you have to Order By clause. There can be other reasons such as performing aggregation in the script and still keeping the un-aggregated data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I don't think Preceding provides a huge improvement over Resident. I think it does to a point, but have read somewhere that having multiple preceding loads can actually be more slower than Resident.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 14:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Resident-Load/m-p/1422575#M807961</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-24T14:47:12Z</dc:date>
    </item>
  </channel>
</rss>

