<?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: Help!! How to reload from a resident table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459720#M1156219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you execute the reload = 3 the resident table "data_01" not exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resident table "data_01" is created when the reload = 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 16:53:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-21T16:53:46Z</dc:date>
    <item>
      <title>Help!! How to reload from a resident table?</title>
      <link>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459719#M1156218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, All&lt;BR /&gt;i need by clikc on the button to reload from a resident table adding some calculated fields (see attachment)&lt;/P&gt;&lt;P&gt;when i do it like this it works:&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;if ($(vFlagForReload) = 1)then&lt;BR /&gt;data_01:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_01, Field_02&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; One_1, 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OneAndHalf_1, 1.5&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Two_1, 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TwoAndHalf_1, 2.5&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Aux:&lt;BR /&gt;Load Max(Field_02) as Max,Min(Field_02) as Min,Avg(Field_02) as Avgg Resident data_01;&lt;BR /&gt;Let vMeanValue=Replace(Peek('Avgg'),',','.');&lt;BR /&gt;Drop Table Aux;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;SecondTable:&lt;BR /&gt;NoConcatenate LOAD &lt;BR /&gt;Field_01 as p1,&lt;BR /&gt;Field_02 as p2,$(vMeanValue) as MeanValue&lt;BR /&gt;,1 as val&lt;BR /&gt;Resident data_01;&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;it works &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if i am trying to do it in two steps like this:&lt;/P&gt;&lt;P&gt;//&amp;nbsp; step 1: load table&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;BR /&gt;if ($(vFlagForReload) = 2)then&lt;BR /&gt;data_01:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field_01, Field_02&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Two_2, 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TwoAndHalf_2, 2.5&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Three_2, 3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeAndHalf_2, 3.5&lt;BR /&gt;];end if;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// step 2: find MeanValue ad write it in second table&lt;BR /&gt;// it doesnot work&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;BR /&gt;if ($(vFlagForReload) = 3)then&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Aux:&lt;BR /&gt;Load&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Field_02) as Max,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(Field_02) as Min,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avg(Field_02) as Avgg&lt;BR /&gt;Resident data_01;&lt;BR /&gt;Let vMeanValue=Replace(Peek('Avgg'),',','.');&lt;BR /&gt;Drop Table Aux;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SecondTable:&lt;BR /&gt;LOAD &lt;BR /&gt;Field_01 as p1,&lt;BR /&gt;Field_02 as p2,$(vMeanValue) as MeanValue&lt;BR /&gt;,1 as val&lt;BR /&gt;Resident data_01;&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need many reloads which depends on user's actions... How to manage with the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459719#M1156218</guid>
      <dc:creator />
      <dc:date>2013-02-21T16:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help!! How to reload from a resident table?</title>
      <link>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459720#M1156219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you execute the reload = 3 the resident table "data_01" not exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resident table "data_01" is created when the reload = 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459720#M1156219</guid>
      <dc:creator />
      <dc:date>2013-02-21T16:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help!! How to reload from a resident table?</title>
      <link>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459721#M1156220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;When you execute the reload = 3 the resident table "data_01" not exists &lt;/P&gt;&lt;P&gt;&amp;gt;The resident table "data_01" is created when the reload = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, i 've seen the message... maybe i dont understand something, but i can see &lt;/P&gt;&lt;P&gt;the table "data_01" pressing Control+T,also i can see its values (right mouse button --&amp;gt; preview)&lt;/P&gt;&lt;P&gt;so its exists somewhere in memory... how can i reload from this table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. well, it was stupid of me&lt;/P&gt;&lt;P&gt;i should use PartialReload,&lt;/P&gt;&lt;P&gt;i suppose, PartialReload doesnot destroy loaded tables&lt;/P&gt;&lt;P&gt;maybe somebody it will be helpful, so i attached correct file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459721#M1156220</guid>
      <dc:creator />
      <dc:date>2013-02-21T17:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help!! How to reload from a resident table?</title>
      <link>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459722#M1156221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a new reload is performed, all data in memory are deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can retrieve this information at the end of each reload must save the final result in a QVD file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time you run recharging via the buttons, read the previous data from this file QVD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459722#M1156221</guid>
      <dc:creator />
      <dc:date>2013-02-21T17:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help!! How to reload from a resident table?</title>
      <link>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459723#M1156222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Eduardo, i've manage with the problem, your answers were very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 17:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-How-to-reload-from-a-resident-table/m-p/459723#M1156222</guid>
      <dc:creator />
      <dc:date>2013-02-21T17:58:55Z</dc:date>
    </item>
  </channel>
</rss>

